Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author David Lingren

    (@dglingren)

    Thanks for your question. I want to make sure I understand what you want to do so I can be most helpful.

    Your topic title says “Add thumbnail size as src“, but your question is “add the thumbnail link as thumbnail?” Can you give me more details or a specific example of what you are trying to do?

    It looks like you want to create a gallery display that shows the “thumbnail link” instead of the thumbnail image or icon; is that right?

    Thanks for any additional information you can provide.

    Thread Starter Onisforos

    (@onisforos)

    Basically I would like to have the thumbnail link to the src of an img element.

    When adding the [+link_url+] the url I get is the one of the original image.

    What I would like is to get the url of the thumbnail in order to avoid unneccesary requests on the server.

    Plugin Author David Lingren

    (@dglingren)

    Thanks for your update with the additional information. If I understand you correctly, you want the link behind each gallery item to be the URL of the “thumbnail” size image; is that right?

    If so, you can try something like this:

    [mla_gallery ids=3516 link=file mla_link_href="{+thumbnail_url+}"]

    I have used ids=3516 to select a specific item; you can substitute any of the data selection parameters your application requires.

    I am marking this topic resolved, but please update it if I have not understood your question or if you have problems or further questions regarding specifying the destination of your [mla_gallery] item links. Thanks for your patience and your interest in the plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add thumbnail size as src’ is closed to new replies.