The Arcive of vBulletin Modifications Site. |
|
Overlay Round Image for Photopost vBgallery Details »»
|
|||||||||||||||||||||||||||
|
Overlay Round Image for Photopost vBgallery
Developer Last Online: Nov 2023
I was looking for this kind of modification for a long time. Last night i worked on it and figured out a way to do this.
Upload overlay-round.gif to your style's misc folder. Open adv_gallery_imagebit find : HTML Code:
<div align="center" style="margin-top:5px;margin-bottom:5px"> <a href="showimage.php?$session[sessionurl]i=$images[imageid]$adv_sorturl"><img alt="$images[title]" border="0" src="$images[url]" /></a> </div> HTML Code:
<div align="center" style="background-repeat: no-repeat; background-position: center; background-image: url($images[url]);" class="alt1"> <a href="showimage.php?$session[sessionurl]i=$images[imageid]$adv_sorturl"><img alt="$images[title]" border="0" src="$stylevar[imgdir_misc]/overlay-round.gif" /></a> </div> If you like to add any background color you shall use the following code instead of the one above HTML Code:
<table width="105" align="center" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="105" align="center" style="background-repeat: no-repeat; background-position: center; background-image: url($images[url]); background-color: #000;"> <a href="showimage.php?$session[sessionurl]i=$images[imageid]$adv_sorturl"><img alt="$images[title]" border="0" src="$stylevar[imgdir_misc]/overlay-round.gif" /></a> </td> </tr> </table> You are ready to go. Demo * You need to have Photopost vB gallery installed for this mod. Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Nice mod.....but it doesnt automatically fit the thumbnails.
Ill attach a screenshot in a sec.
|
|
#3
|
|||
|
|||
|
Quote:
|
|
#4
|
||||
|
||||
|
Quote:
|
|
#5
|
|||
|
|||
|
Quote:
i checked with opera , firefox and internet explorer and the code is working. Edit : can you try this : HTML Code:
<div align="center" width="105" height="105" style="background-repeat: no-repeat; background-position: center; background-image: url($images[url]);" class="alt1"> <a href="showimage.php?$session[sessionurl]i=$images[imageid]$adv_sorturl"><img alt="$images[title]" border="0" src="$stylevar[imgdir_misc]/overlay-round.gif" /></a> </div> |
|
#6
|
||||
|
||||
|
Quote:
![]() EDIT: I think if you could make it so the .gif conforms to the thumbnail sizerather than a static size....we would be golden! |
|
#7
|
|||
|
|||
|
Quote:
|
|
#8
|
||||
|
||||
|
nice hack, photopost of course has had these for about a year!...
![]() -b6 |
|
#9
|
||||
|
||||
|
Nice mod!
|
|
#10
|
|||
|
|||
|
how would i go about adding this to the profile picture ? i thinkt hat would be a nice addition...
|
![]() |
|
|