• Resolved leogc

    (@leogc)


    Hi there,

    i play a bit around with your Plug in so far very nice, but i see a big problem (or i am just to stupid), if i like to edit a listing with mixing up images (the images i have already in the media library of WP) i can not say that i want to use a picture from the media library alway my local storage gets conectted to uplaod a new image, but i don’t need an upload, ow can i handle that? Because if i alwa upload a new image i will have milions of “dead” images in the library…

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Paolo

    (@paoltaia)

    Hi,

    GeoDirectory only uses the library for the featured image.

    We do this to avoid turning your database into a bottleneck for performances.

    For each image uploaded through the media library, several new rows are added to your database.

    Using this method, if you have 1k listings with 3 pictures each, we prevent minimum of 2k useless rows to be added to your database, and in most cases, depending on your media settings, that number is a lot higher. This is fundamental for scalability.

    I hope this explains the issue.

    Thank you and all the best,

    Thread Starter leogc

    (@leogc)

    Well it explains it but what can i do now with my 1.000 Images in the media libary and where did your PlugIn safe them? In case of changes etc. what is happening to the images? i.E. someone deletes his entry whats then with the pics? In case someone changes them whats the with the not used pics?

    Thanks for mor hints.

    Thread Starter leogc

    (@leogc)

    Ah is there a possibility to import the images from media library into GeoDirectory?

    Plugin Author Paolo

    (@paoltaia)

    The plugin stores the images in the same folders used by WP.

    Now it would be saving them in wp-content/uploads/2022/02

    Option one, which is not ideal, would be to download them and upload them back using the add listing UI.

    Another option (The one I think I would use if I were you) is to move them all into the current month folder via FTP (wp-content/uploads/2022/02) and then use the CSV import feature to add them to the listings. In that case, you’d simply add the names of the files in the image columns of the CSV. That way you can add them to new listings, but also update existing listings.

    I’ll also see with the development team if adding an upload from URL is something we can add to the next version without disrupting our roadmap.

    We’ll let you know.

    Thanks,

    Plugin Author Stiofan

    (@stiofansisland)

    Hi @leogc,

    When a listing is deleted then so are it’s images. If we used media library images then either we might delete and image that is used somewhere else or we might orphan an image if we leave it.

    Just FYI if it’s a placeholder image you want to use there are several setting for that, from the whole directory down to per category.

    You could use the CSV export/import to update feature and add images that way.
    Please see our doc here https://docs.wpgeodirectory.com/article/242-how-to-format-the-csv-file-for-importing-listing-images

    You could add a image URL direct and it would download a copy if a full URL is used, however if you use a #hash before the full URL then it treats it like a CDN and will just use the URL directly. Bear in mind that if the source image is deleted then you could have a broken image link.

    Let me know if I can help further.

    Thanks,

    Stiofan

    Thread Starter leogc

    (@leogc)

    Hi Guys,

    ok i will try all this and let you know. Maybe i have another “Problem” with Images, but i will see what happens if i follow all the steps you mentionend and in case the Problem is still there is will start a new topic.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Change/add pictures/images from Media Library not possible?’ is closed to new replies.