• Resolved Diwous

    (@diwous)


    Hello Jacob,

    at first, thanks much for the quick addition of new features of the lightbox as we talked about them (Download Button, Social Share Buttons options etc.) Still looking forward to Zoom+/- button.
    ——

    I have one query about a structure of folders and files.
    I am a bit confused about it.
    Wordpress defaultly uploads photos to the folders according to Years/Months, right?
    For example:
    wp-content/uploads/2014/07/Manhattan.jpg
    wp-content/uploads/2014/07/Eiffel_Tower.jpg
    etc.

    I would like to make an order of my folders and create some structure.
    For example:
    wp-content/uploads/New_York/Manhattan.jpg
    wp-content/uploads/Paris/Eiffel_Tower.jpg
    etc.

    When I upload photos via your plugin, it has changed the filenames and puts everything into the wppa folder:
    wp-content/uploads/wppa/1.jpg
    wp-content/uploads/wppa/2.jpg

    When download button is used, then the photos are downloaded from another folder /temp/ with correct original filename:
    wppa/temp/Manhattan.jpg
    It’s probably a temporary folder, because physically I see nothing there through FTP.
    But when visitor uses ‘right click/save as’ on the photo opened in the lightbox, then is downloaded again as:
    wp-content/uploads/wppa/1.jpg

    I have tried to create my own folders through FTP and send the photos there. It works but it’s pretty uncomfortable and complicated.

    Maybe I am doing something wrong or do you have some advice how to make an order and create my own structure, please?

    Thanks.

    https://www.ads-software.com/plugins/wp-photo-album-plus/

Viewing 15 replies - 16 through 30 (of 32 total)
  • Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Ok, stay tuned…

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Implemented in 5.4.3, not yet released, but it runs on https://wppa.opajaap.nl
    Please test it there…

    Note: names may be multilanguage according to qTranslate rules

    Thread Starter Diwous

    (@diwous)

    I have checked your website. I can see the common path of images e.g.
    https://res.cloudinary.com/wppa-opajaap-nl/image/upload/2286.jpg
    I don’t know what names of albums you use or where to find the new change.
    Maybe would be better to check it in my WP after an official release of 5.4.3 (?)

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Yes, you are right. I use a cdn service, but that does not affect the link urls. Example: look at the link from when hovering the photo of the day.

    Thread Starter Diwous

    (@diwous)

    Yes, it seems good.
    I can see e.g. an image 15 Cigarette paper
    The download url is:
    https://res.cloudinary.com/wppa-opajaap-nl/image/upload/1914.jpg
    where 1914.jpg is an original name of the photo.
    The url when hovering is:
    https://wppa.opajaap.nl/photo-album/?occur=1&album=Microscope&photo=%5B:en%5Dimage15%5B:nl%5Dimage15
    where I can really see some album name: Microscope photo
    So is this the permalink?
    If yes, the permalink has not a same file name as the real file name?

    And how about those extra characters and words in the album name as (?, &, =, :en, :nl) etc.? Must they stay there?
    A clear url as:
    https://wppa.opajaap.nl/photo-album/Microscope_photo/image15
    would be best.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    In https://wppa.opajaap.nl/photo-album/?occur=1&album=Microscope&photo=[:en]image15[:nl]image15 it says album = Microscope and photo = image15 ( in 2 languages ).

    This is not a permalink to the image file, but a link to a page on the site that shows the image. When the user clicks this link, he will come in a slideshow with all the photos in that album, where he can capture the permalink to the hires sourcefile: ( in my case because of the CDN service ) : https://res.cloudinary.com/wppa-opajaap-nl/image/upload/1914.jpg

    This is what i can offer now. I will investigate on permalinks like https://wppa.opajaap.nl/photo-album/Microscope/image15 but i can not promise a solution in the near future.

    Thread Starter Diwous

    (@diwous)

    Ok,
    anyway thank you for your good will.

    There is too complicated structure now. Too many different forms of url for one photo (different real location url, different url when hovered, different permalink, different url for download). When someone is used to share links via “Right click/Copy Photo Address” there are different urls than real location. The temporary locations are not good for me. And the unclear url without a simple structure of my own album names as well.
    For example NextGen has a perfect simple url structure as:
    diwo.us/wp-content/gallery/africa-photos/elephant-015.jpg
    and it keeps same without changes all the time for all operations described above.

    As I said, WPPA+ is perfect for me in all things compared to each other photo album.
    But just this feature is not ideal for me and that is why I am still not sure if keep going with WPPA+ or not. I am still just testing it, but when I will decide to create all my albums, upload all photos and start to share the permalinks, it must be clear and definitive. To change the structure of links after, would be impossible, because permalinks MUST stay same permanently as to be still functional.
    Of course, you know about it, but I hope you understand my needs.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    but i can not promise a solution in the near future.

    Means by me: not within 3 days.

    If you give me, say 2 weeks, i will have a situation where wppa+ produces working permalinks like https://www.mysite.com/wp-content/gallery/Albumname/Photoname.jpg that will stay permanent as long as you do not change the name of album or photo. My time is limited and i have more to do, so either you have the patience to wait for this or you quit using wppa+. Its up to you.

    Thread Starter Diwous

    (@diwous)

    It’s a great message. I am looking forward to the new feature. Good luck with a programming. I will be patient.
    Thank you for your effort.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Fixed in 5.4.5, currently available. Note the instructions (from the changelog):

    If source files are kept ( Table IX-H1,2 ) and the system is single site or multisite_global, there is an automatic permalink structure to source image files.
    Use the keyword w#pl in photo descriptions; if the source is not available, this keyword displays nothing.
    The permalink has the following structure: https://www.mysite.com/wp-content/wppa-pl/My-album/My-photo.jpg.
    My-album stands for the wppa+ album name, My-photo.jpg for the name of the photo.
    You can change the name wppa-pl into any convenient filesystem safe name like ‘albums’ in Table IX-H14: Permalink root.
    Make sure you choose a unique name inside …/wp-content/ for the permalink root.
    There is no hierarchical album structure, and it is your responsability to have no duplicate album names, and no duplicate photo names inside the same album.

    Is there a plug in or solution to rename a permalink or upload a new image with just the https://www.companyname.com/imagename in stead of https://www.companyname.com/wp-content/uploads/2013/07/img_10.jpg

    All I want is the company name and image name to be in permalink structure for one image

    https://companyname.com/wp-content/uploads/2013/07/img_10.jpg

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    This is not a question related to this plugin

    Awesome! I like waht you do and to see the process here of fulfilling wishes of other users ??

    I found this thread because I also remarked the structure of the uploaded pictures and was quite confused. In my case is more for my own purpose that I like to recognize the pictures and their belonging on the server then the need for obviuos visibility for other.

    Unfortunately I already uploaded and personalized about 50 pictures and hesitate now to delete them and restart the whole process. So I tried to follow your instructions.

    I changed the name of wppa-pl by the settings page into “albums”.
    I ticked Table IX-H1,2.
    I moved the files from /wp-content/uploads/wppa to /wp-content/wppa-depot/Jan and see them on the Import Photo page.
    I started with one photo (68.jpg): ticked Update existing photos and pressed Start Ajax

    ThenI recieved a red message “68.jpg Failed!”

    The file hasn’t been moved on the server.

    What can I do.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    I changed the name of wppa-pl by the settings page into “albums”.

    Perfect!

    I ticked Table IX-H1,2.

    Also perfect!

    I moved the files from /wp-content/uploads/wppa to /wp-content/wppa-depot/Jan and see them on the Import Photo page.

    You should not do that! It is useless to ‘recycle’ the files from the wppa/ folder. They are resized and lost their names, exif and iptc data.

    I started with one photo (68.jpg): ticked Update existing photos and pressed Start Ajax

    That is because you do not have a photo with original filename 68.jpg.

    What you shlould do is: ftp the original photo files with the original names from your local pc to /wp-content/wppa-depot/Jan/ and run the Ajax import with the update switch on.
    Now the unresized, unstripped original files are copied to the wppa-source/ folder, where the permalinks to photos inside the ‘albums’ folder are redirected to; and the exif and iptc data is saved if you have IX-H7 and 8 ticked; while you do not need to bother about in which album the photos are.

    Ok, understood.

    So I uploaded my files again to my depot folder and started the import.

    Now I see the again a lot of numbered files in /wp-content/uploads/wppa
    I see /wp-content/uploads/wppa-source with six folders album-1 to album-6 with the different files with the orginial names
    And I still see /wp-content/albums and /wp-content/wppa-pl, both empty except a .htaccess file

    Shouldn’t there be folders inside /wp-content/albums with the real names of the albums and within the original files?

Viewing 15 replies - 16 through 30 (of 32 total)
  • The topic ‘Structure of uploaded photos’ is closed to new replies.