![]() |
how to add a Class to attachments img
Hi,
I'm having hard time trying to find where to insert a Class to attachment img link. all I found is {vb:raw post.thumbnailattachments}, but that code should be somehow edited somewhere else ... so what I want is to add a class to thumbnail attachment like this <img Class"wrap"... any idea where to find that code and edit it ?? :confused: |
There is a group of templates for attachments, have you looked there? It should be something like attachmentbit
Search in this group, it's not in the postbit template |
Quote:
when I go to vb editor and want to insert image, the insertion put the attachment in <a href="attachment.php?" and <img /> for example, I inserted an image using the image insert property in vb editor: HTML Code:
<a id="attachment25" target="_blank" rel="Lightbox_15" href="http://mysite.com/attachment.php?attachmentid=25&d=1407671248"> I think both lightbox images and attachments are two different things!!! any idea how to do that?? --------------- Added 11 Aug 2014 at 17:01 --------------- it is ok, I got it working without editing anything. I had to add class using Jquery script Thanks |
Glad you got it working :)
|
All times are GMT. The time now is 04:46 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|