Images… imagine if Geodirectory simply used Media Library…

This topic contains 4 replies, has 4 voices, and was last updated by  justmark 8 years, 10 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #114910

    wasanajones
    Buyer
    Post count: 180

    You have tried to help me solve image crisis before but now it is sort of serious

    I use Amazon S3 and Cloudfront to manage Media Library Storage

    this creates an offsite URL for images

    in creating or editing category, and probably elsewhere, adding an image/icon button goes to the media library – doesn’t allow directly entering a URL, and it doesn’t actually use the URL from the Media Library, it prepends the path to the media uploads folder to the url in the media library

    media library says this
    https://d201234567.cloudfront.net/wp-content/uploads/2016/01/cat_icon_example.png

    but it gets saved as
    https://mysite.com/wp-content/uploads/2016/01/https://d201234567.cloudfront.net/wp-content/uploads/2016/01/cat_icon_example.png

    this renders the plugin almost unusable – and moreover works against prevailing advice to use a CDN to speed up page loading and reduce server loads, two important web master issues.

    not allowing the CDN for images added to listings or CPT, while a pain in the nether-regions, is at least functional. but not having a way to add category icons breaks the plugin

    currently need to edit the database to use your plugin…

    can you provide a functions hack to disable prepending the path (until you address this in core)?

    this must be affecting a lot of people and many might not know why icons etc are not showing up.

    thanks

    #115173

    Paolo
    Site Admin
    Post count: 31206

    It would be a database nightmare for any directory with few hudreds listings.

    Please read: https://wpgeodirectory.com/support/topic/upload-images/#post-66740

    Thanks

    #115181

    wasanajones
    Buyer
    Post count: 180

    good points about the attachment entries and truly valid

    however my issue is that you prepend path to uploads folder instead of allowing using a URL (cdn or otherwise) and require uploading from the computer

    when you look at sites that use images served from uploads folder they are invariably a source of slow loading – and most directories of size should be on VPS, and storage on VPS is expensive

    currently I can’t use Geodirectory without going into the database and correcting everything

    from the showcase sites — look at the gtmetrix waterfall image loading times…
    https://gtmetrix.com/reports/www.visitmidlothian.org.uk/vSVe4q9Q Page Load Time 11.2s
    https://gtmetrix.com/reports/www.openmindtrips.com/JQoOKfEt Page Load Time 15.7s
    https://gtmetrix.com/reports/www.love-weymouth.co.uk/C41g3Kmy Page Load Time 10.9s

    other ones that are in the 5 to 8 second range are getting delayed at least a second or more

    the only demo site that was loading fast has some nginx pagespeed tweaks (that I am certainly going to look at)

    hard to defend not allowing more flexibility with images – the very least to allow using a URL instead of forcing path to uploads folder

    #115199

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I believe u have me on skype, give me a ping tomorrow and we will see what we can do bout it.

    Thanks,

    Stiofan

    #115720

    justmark
    Full Member
    Post count: 375

    Please let the community know the outcome of this as it is of interest to me and I am sure others as well.

    Thanks!

Viewing 5 posts - 1 through 5 (of 5 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount