Increase Thumbnail Size for uploaded Images (over File Upload)

This topic contains 8 replies, has 2 voices, and was last updated by  Paolo 8 years, 11 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #39722

    terrencehill
    Buyer
    Post count: 26

    Hi There!

    I m having a GeoDirectory Page that gives the shop owners the ability to have a lot of tabs for their listing. I want them to be able to add several images per Tab.

    Right now I m doing that using the “File Upload” function that is in the corresponding Tab.

    The first issue: File Upload generally does not limit the type of file that can be uploaded. Is there a possibility to limit it only to *.jpg and *.png?

    The second issue: When a shop owner uploads an image under that Tab using the file upload function, it will be displayed to the viewer, but only in a very small size. How can that size be enlarged (or even put on the regular lightbox function that is available under photos)?

    Sincerely
    Thomas

    #39810

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    at the moment it isn’t possible to add the lightbox features to them, nor validate file types (this is something we should add).

    However increasing the size with css is kinda simple.

    If you provide a link to a ppage on your website where 1 of these thumbnails is visible, I’ll provide the css code needed.

    Thanks

    #39844

    terrencehill
    Buyer
    Post count: 26
    This reply has been marked as private.
    #39849

    Paolo
    Site Admin
    Post count: 31206

    For this one: http://wp10583902.server-he.de/hp-projekt-wp-datenbank/places/germany/baden-wuerttemberg/stuttgart/bietet-vegane-produkte/test-vom-freitag/#gd_tab_2

    
    
    #gd_tab_2Tab .geodir-custom-post-gallery {
        width: 50%;
    }

    For this one: http://wp10583902.server-he.de/hp-projekt-wp-datenbank/places/germany/baden-wuerttemberg/stuttgart/bietet-vegane-produkte/test-vom-freitag/#post_info

    
    
    #post_infoTab .geodir-custom-post-gallery {
        width: 50%;
    }

    For any other tab, just change the tab name ID.

    To identify css elements please refer to this: http://docs.wpgeodirectory.com/customizing-your-style/

    Thanks

    #40264

    Paolo
    Site Admin
    Post count: 31206

    We added the option to restrict file upload by file type.

    Let us know how it works for you!

    Thanks

    #40266

    terrencehill
    Buyer
    Post count: 26

    Yeah THX everything is working now!!!

    Except one issue: Some of the pics already uploaded on a listing have been kicked out for no reason I think. It was randomly. Some pics were still there after the Update to the latest Geodirectory version, but some pics on a listing went missing.

    Its no problem since I dont have clients yet and everything is at testing stage. But I had to edit the post via Frontend to re-upload the missing pics again.

    On the frontend where a pic went missing, it looked like in the screenshot (no thumnail was there anymore). But for me, I m ok! Everything is fine now, the functionality works great!

    thx

    #40270

    Paolo
    Site Admin
    Post count: 31206

    Sorry about that and thanks for reporting it. Let us know if anything else comes up!

    Cheers,

    #40275

    terrencehill
    Buyer
    Post count: 26

    One more thing: As far as I m concerned, the Standard Select Files Dialog at the end of every ADD LISTING page cannot be edited and still allows people to select any file type, not only images

    #40279

    Paolo
    Site Admin
    Post count: 31206

    Ok,

    thanks for spotting that, the uploader doesn’t actually allow to upload them onto the server, but yes you can initiate the upload of other file types.

    I’ll add this as a task too.

    Thanks!

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

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

Open Support Ticket