Do you have any of those same filenames as 20x20 defined elsewhere in that field? (Even if under a different path?)
This is a discussion on Automatically Retrieve Image Dimensions within the Template Modifications forums, part of the vBulletin SEO Discussion category; Do you have any of those same filenames as 20x20 defined elsewhere in that field? (Even if under a different ...
Do you have any of those same filenames as 20x20 defined elsewhere in that field? (Even if under a different path?)
The defualt vb skin ./statuicon (instead of the specified, ./element/statusicons) images are adopting this file size.
Should these be deleted?
The Staff Lounge - Your vBulletin Resource.
vBulletin, InvisionFree, IPB, phpBB and Forum Resources.
vBSEO: The SEO Solution for Expert vBulletin Forum Admins
EDIT: Hmm. I see what you mean I think.
Ah, I see now. Yeah, this will only affect those with more than one style.
The size set for 'statusicon/announcement_new.gif'
is overriding
the size set for 'element/statusicon/announcement_new.gif'
because
this string: 'statusicon/announcement_new.gif'
does in fact exist in this string also: 'element/statusicon/announcement_new.gif'
Last edited by Keith Cohen; 10-27-2005 at 05:12 PM.
You could do this, and it should fix it:
In the script I wrote, change this line:
Code:echo "'".ltrim($file['name'],"./")."' => '".$width."x".$height."'<br />";
To this :
Code:echo "'images".ltrim($file['name'],".")."' => '".$width."x".$height."'<br />";
Last edited by Keith Cohen; 10-27-2005 at 07:10 PM.
Yes, that was what i was in reference too.Originally Posted by ConqSoft
Sorry if i was unclear. I'll try out your file edit.
The Staff Lounge - Your vBulletin Resource.
vBulletin, InvisionFree, IPB, phpBB and Forum Resources.
vBSEO: The SEO Solution for Expert vBulletin Forum Admins
Works fine now, thanks for the help.
Glad to see i contributed to some bug stamping too![]()
The Staff Lounge - Your vBulletin Resource.
vBulletin, InvisionFree, IPB, phpBB and Forum Resources.
vBSEO: The SEO Solution for Expert vBulletin Forum Admins
There's a fundamental issue with what you guys are trying to achieve here: the 'image size attributes' feature supports 1 LEVEL deep images only
We've added support for 2 LEVEL deep images in the next build![]()
Juan Muriente / Crawlability Inc.
vBSEO 3.6.0 GOLD Released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
Really? How did the change fix his issue then?Originally Posted by Juan Muriente
![]()
Are you sure it wasn't that image dimensions were just not applied but determined by the browser?![]()
Juan Muriente / Crawlability Inc.
vBSEO 3.6.0 GOLD Released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
heh. Yeah, could be.
Yep, that's what happened. It's just not specifying the width/height.
Will the 'image/element/statusicon/announcement_new.gif' format work in the next release, or is that too deep?
It was not supported 3 minutes ago, it is now
Juan Muriente / Crawlability Inc.
vBSEO 3.6.0 GOLD Released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
and what happens if you have multiple skins on board with diff image sizes?
It will work for 1 style but what about others?
With the next release of vbSEO it should work, as long as all your images are arranged under your forums images directory, and you make the change I noted above for Michael.