Wallpaper Script Forum » How-To and Troubleshooting

Managing wallpapers in the wallpapers directory

(6 posts)
  • Started 1 year ago by martinj
  • Latest reply from bandara1988
  1. martinj
    Member

    Hi the community,

    I have seached on the forums but I don't see any posts on this subject.
    For example, when I use the bulk upload tool, the wallpapers are stored after the upload in the wallpapers directory all listed at the rootof the directory.
    I would like to organise all the wallpapers in different directories corresponding to the name of the category, is it possible easily to change some code to do that or is their an option anywhere?

    For example:
    I upload on the ftp in upload dir the list:
    upload/dir1/file1.jpg
    upload/dir2/subdir2/file2.jpg

    and after uploaded I would like to have the wallpapers dir created and the different resolution of the wallpaper in the same dir:
    wallpapers/dir1/file1.jpg
    wallpapers/dir1/file1-wide.jpg etc
    wallpapers/dir2/subdir2/file2.jpg

    For me it's important to do that to manage very big galleries

    Thanks for your answers,
    Martin J

    Posted 1 year ago #
  2. martinj
    Member

    Any answers? Please.

    Posted 1 year ago #
  3. Toni
    Key Master

    The dir1, dir2 are automatically transformed into categories for that file. subdir2 is transformed into subcategory. But the link will formed from the file name only.

    Example:
    http://wallpapers.net/blonde_with_blue_eyes-wallpapers.html

    Posted 1 year ago #
  4. this can be easily done for a new site but if you are having a site with thousands of images its so hard to do it.because you need to move all your files in to different folders or need to write the php to auto detect the folder path .and its better to limit the no of files per folder .

    Posted 1 year ago #
  5. martinj
    Member

    The dir1, dir2 are automatically transformed into categories for that file. subdir2 is transformed into subcategory. But the link will formed from the file name only.

    Example:
    http://wallpapers.net/blonde_with_blue_eyes-wallpapers.html

    It's not my question, I speak about the structure of the files on the server. Please read again my post.

    Bandara, it's for a new site, no wallpapers uploaded for the moment.

    Posted 1 year ago #
  6. then you have to update only 2 basic things upload part(making new folders and storing the file) and the downloading part(make thumbs,make various resolution images and providing a original file to download)..But there can be many other events because every page ask for thumbs and you have to be careful and check one by one and change them.

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.