featured image short code in large size

This topic contains 8 replies, has 4 voices, and was last updated by  Stiofan O’Connor 6 years ago.

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

Open Support Ticket
  • Author
    Posts
  • #453245

    dalpho
    Expired Member
    Post count: 25

    Hello,
    In my theme I entered this short code “[gd_post_images show_featured_only = true]” which works, however, I would like to make the image large size, how can I do it?
    Thank you, I appreciate your help!

    #453246

    dalpho
    Expired Member
    Post count: 25

    I use GDV2

    #453267

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    It can probably be done with CSS. If you give as a link with an example, we’ll let you know.

    Thanks

    #453314

    dalpho
    Expired Member
    Post count: 25

    I’m testing everything by xampp, so I can not give you a link.
    I inserted that shortcode ( [gd_post_images show_featured_only = true] ) in the wp txt editor and shows me the featured image in medium size.
    I would like to insert the featured image but in large size.
    If that shortcode is not good or can not be changed, can you provide me a shortcode for the gdv2 version that works?

    thank you

    #453324

    Alex Rollin
    Moderator
    Post count: 27815

    You can use the shortcode builder with V2 to configure a gd_post_images shortcode.

    https://wpgeodirectory.com/docs-v2/geodirectory/shortcode-builder/

    GDV2 images are responsive and serve different sizes based on the browser viewport: https://wpgeodirectory.com/docs-v2/integrations/images/

    There is not a way to call a specific image ‘size’ with GDV2 gd_post_images, the image should expand to fill the container. I will flag your question for the developers in case they know of a workaround for calling a specific size.

    #453343

    dalpho
    Expired Member
    Post count: 25

    ok, appreciate

    #454499

    dalpho
    Expired Member
    Post count: 25

    I have done other tests and anyway I can not show the featured image in large or original size, it continues to show me the medium size. (thumb, medium, large and original size) I would like to have the large size.
    possible that there is not a way to do it? via short code or even via PHP code?
    I could also create a new field for a single image (like to logo field) with a predetermined size, always if GDV2 allows it.
    thank you

    #454543

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    I have alerted your developers about your request.

    #454580

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hello,

    I have added a new option into the widget/shortcode so you can add

    image_size="full"

    This will be in the next release.

    Thanks,

    Stiofan

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
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount