PDA

View Full Version : Is there any other reason


Disco_Dave
02-11-2013, 12:49 PM
Hi Guys/Gals

Is there another reason to why these images below wouldn't work as a gif? I chenged the below, to read the gif's instead of the png's. But the images won't select?

Any ideas would be great

Dave



<div id="pmlist_info" class="floatcontainer">
<div id="forum_icon_legend" >
<h5>{vb:rawphrase icon_legend}</h5>
<div class="forum_info_block blockbody formcontrols">
<dl class="forum_info_subblock icon_legends" id="icon_legends">
<dt><img src="{vb:stylevar imgdir_statusicon}/pm_new.gif" alt="{vb:rawphrase unread_message}" /></dt><dd>{vb:rawphrase unread_message}</dd>
<dt><img src="{vb:stylevar imgdir_statusicon}/pm_old.gif" alt="{vb:rawphrase read_message}" /></dt><dd>{vb:rawphrase read_message}</dd>
<dt><img src="{vb:stylevar imgdir_statusicon}/pm_replied.gif" alt="{vb:rawphrase repliedto_message}" /></dt><dd>{vb:rawphrase repliedto_message}</dd>
<dt><img src="{vb:stylevar imgdir_statusicon}/pm_forwarded.gif" alt="{vb:rawphrase forwarded_message}" /></dt><dd>{vb:rawphrase forwarded_message}</dd>
</dl>

LifesGreatestGift
02-11-2013, 02:43 PM
nope just make sure you are uploading them into the proper directory, if you are using the default vbulletin or using a custom style they will have their own "Statusicon" folders.

Disco_Dave
02-12-2013, 06:39 AM
Cheers @Lifesgreatestgift I do have the right folder selected, and I'm editing the right template. Just doesn't want to work :(

nhawk
02-12-2013, 10:53 AM
Dave,

Go to ACP->Styles & Templates->Style Manager. For the style you edited the template in, select Style Variable Editor. In the search stylevar box type img.

Check the path for imgdir_statusicon. It may not be where you think it is and you may need to move the gifs to that folder.

Disco_Dave
02-12-2013, 11:32 AM
Thanks @nhawk, I'll check that.

Cheers

--------------- Added 1360753487 at 1360753487 ---------------

Folder checked, imgdir_statusicon checked, selecting the right folder. Edited the template from png to gif, but they will not show. the only way I can get them to show is if I change the names of my gif images to png's.......Has me :(

John Lester
02-13-2013, 03:18 PM
Are you certain that you are editing the template for the right style? Ichanged out the pngs for gifs on my test site and it worked flawlessly.

Disco_Dave
02-13-2013, 03:27 PM
Yes John, we only have two styles, default and a mobile style. I'm editing this one: pm_messagelist

Is that correct?

John Lester
02-13-2013, 03:28 PM
Yep that's the one I edited. Have you tried deleting the pngs from the status icon folder?

ADDED:

You could also try using a direct path for the images like (from my test site) <img src="/vb4112pl3/images/statusicon/pm_forwarded.gif" instead of <img src="{vb:stylevar imgdir_statusicon}/pm_forwarded.gif"