• Resolved thekingsman

    (@thekingsman)


    Is there a way to display image on attributes? I added an attribute, I did the settings as an attachment attributes & even added feild type as images but after I attach a picture, it shows up as a link & not an image.

    Could it be from the display format? There’s only %value% %label% %icon% & %parent_value%. Is there a %image% ? Tried that, didn’t work.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author HivePress

    (@hivepress)

    If you mean the attachment type restricted to image file formats please try this Display Format:

    <img src="%value%">

    You can also set other HTML attributes https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img

    Thread Starter thekingsman

    (@thekingsman)

    Brilliant! It worked like magic. I’m grateful, THANK YOU ????

    Thread Starter thekingsman

    (@thekingsman)

    I’m so sorry there’s still a problem left on this. I noticed that I am directed to pick an image from my device folder & not from wordpress media. If I keep selecting images from my device, that would create a lot of duplicates. How do I make it select image from my wordpress media files?

    Theme Author HivePress

    (@hivepress)

    There’s no such option yet (this plugin is mainly for user-generated content, when listings are added by users via the front-end form), but you can try re-attaching existing images from Media (using some third-party plugin) to listings.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Adding image to attributes’ is closed to new replies.