Post by dmbrownfield » Fri May 09, 2008 12:43 am

Is there a way to create folders or sub folders for images? 

New member

Posts

Joined
Fri May 09, 2008 12:37 am

Post by pdbs » Fri May 09, 2008 10:54 am

there is  a way to do this I will look at the code and see if I can find a solution to quickly do it.

New member

Posts

Joined
Thu May 08, 2008 2:56 am

Post by jty » Thu Nov 13, 2008 11:20 am

I would like this too. I'm getting lost in a mirage of pics
Has anyone done it yet, please

jty
Active Member

Posts

Joined
Sat Aug 30, 2008 8:19 am

Post by Qphoria » Thu Nov 13, 2008 11:28 am

would need some sort of drop down with a list of the subdirectories inside the image folder that you could select as the target. Then prepend that to the front of the image name (i think that's the gist). Might be a good one to add to the request thread for 0.8 :)

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by jty » Thu Nov 13, 2008 11:56 am

Qphoria wrote: would need some sort of drop down with a list of the subdirectories inside the image folder that you could select as the target.
In admin/controller/image.php, we're able to select the folder so that part is done.
Then prepend that to the front of the image name (i think that's the gist).
This is the part not being currently done. The filename stored in the dbase is only the filename.
If we could also prepend eg /basetballs/ to the filename in the dbase, then we'd be cooking with gas.
But I don't know how to do that  ::)
Might be a good one to add to the request thread for 0.8 :)
We have a request thread? Have I been there yet?
... I'm off to find the request thread ........

....... back again ........
I'm too impatient to hunt down the request thread. It's hiding from me  ::)
Last edited by jty on Thu Nov 13, 2008 11:58 am, edited 1 time in total.

jty
Active Member

Posts

Joined
Sat Aug 30, 2008 8:19 am

Post by Qphoria » Thu Nov 13, 2008 1:20 pm

jty wrote:
Qphoria wrote: would need some sort of drop down with a list of the subdirectories inside the image folder that you could select as the target.
In admin/controller/image.php, we're able to select the folder so that part is done.
Hm... no I mean in Admin->Catalog->Images when uploading a new image, you need to have a folder drop down there.
OR
Better yet, to follow the format of the other admin pages, you could create "categories" and then click the little yellow folder to upload to the folder with the same name as the category.

Kinda like how Options have the name and the values inside the little folder icon.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by jty » Thu Nov 13, 2008 1:45 pm

Qphoria wrote: Hm... no I mean in Admin->Catalog->Images when uploading a new image, you need to have a folder drop down there.
OK. I C What U mean
Better yet, to follow the format of the other admin pages, you could create "categories" and then click the little yellow folder to upload to the folder with the same name as the category.
I was thinking to use the category name as the folder
If my images reside in a folder with the same name as the category name, then I can prepend
./. foldername . /. to the filename in category.php

But I'm too novice to work out how to prepend the category name to the filename
and then I got stuck on product.php cos I don't know how to include the category name
So I decided to "just live with it" cuz it's easier than going to php school to do a College Degree :D

jty
Active Member

Posts

Joined
Sat Aug 30, 2008 8:19 am

Post by JNeuhoff » Thu Nov 13, 2008 5:19 pm

At the moment the managing of images is not very elegant.

What we need is this:

OpenCart's admin panel must show the list of images in a browsable tree-style folder list, and it should include not just the image titles (because the same image title could be used for more than one image, or the same image could be refered to by more than one title), but it should also include the image file name path (e.g. 'image/folder/myimage.jpg').

Also, there should 2 ways of uploading images:

1) Separately from OpenCart via FTP, and OpenCart's admin panel would just see it in the browsable folder structure
2) Via OpenCart's admin panel using the Upload button, again with a choise on where on the server within the image folder structure to put the image.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by Qphoria » Thu Nov 13, 2008 11:55 pm

Last edited by Qphoria on Thu Nov 13, 2008 11:57 pm, edited 1 time in total.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: No registered users and 4 guests