Okay
  Public Ticket #1680539
Lightbox Image
Closed

Comments

  •  2
    mrfb59 started the conversation

    Hi

    How can I set it so that when I click a portfolio thumbnail to open the lightbox with a large image it uses the original full size image I uploaded instead of one of the generated versions created?

    Thanks
    Mark

  • [deleted] replied

    Hi Mark,

    Can you please try to be very specific about the question and explain it more to us, in this way we can easily understand you and give you the proper answer.

    Do you want to achieve the same thing as you see in our Photography demo please?

  •  2
    mrfb59 replied

    Hi Ylli

    All of the portfolio item types on my website are Lightbox item type.

    I have set them to use the 'featured image' as the content to show.

    When you click a portfolio thumbnail on my website it opens up the modal lightbox with a large version of the image. However the image shown is not the original one I uploaded but a resized version.

    For example for the portfolio item 'Useless Loop Aerial - 2' when I click the thumbnail and open the large image in the modal lightbox it uses the resized version 'Aerial-Useless-Loop-2-1116x744.jpg' instead of the original file I uploaded 'Aerial-Useless-Loop-2.jpg'

    I want the original image I uploaded to show, not the resized version which is 'portfolio-single-img-2'.

    Thanks
    Mark


  • [deleted] replied

    Hi Mark,

    Thank you very much for clarifying this for me. My team mate (Arlind) can help you with this question, but he is not in the office until 27 August. When Arlind comes back, just reply to this thread and you will make sure he will see your comment.

    Thanks for your understanding!

  •  2
    mrfb59 replied

    Hi Arlind

    Are you able to look at my query below please?

    Thanks
    Mark


  • [deleted] replied

    Hi Mark,

    I have checked the original code of portfolio lightbox items and I realized that the large image already uses "original" image size for lightbox:


    (view large version)

    The only way for portfolio items to show different image size is when defined in Theme Options:


    (view large version)

    To make sure, I've checked the portfolio item you suggested and the large image that is being opened is the original one:

    http://www.dynamicrange.com.au/wp-content/uploads/2018/08/Aerial-Useless-Loop-2.jpg
    

    So, is there anything I am missing here?