Page 2 of 5 FirstFirst 1 2 3 4 5 LastLast
Results 16 to 30 of 66
Like Tree4Likes

Automatically Retrieve Image Dimensions

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 ...

  1. #16
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times
    Do you have any of those same filenames as 20x20 defined elsewhere in that field? (Even if under a different path?)

  2. #17
    Senior Member Michael's Avatar
    Real Name
    Michael Benson
    Join Date
    Sep 2005
    Location
    United Kingdom
    Posts
    776
    Liked
    0 times
    The defualt vb skin ./statuicon (instead of the specified, ./element/statusicons) images are adopting this file size.
    Should these be deleted?

  3. #18
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times
    EDIT: Hmm. I see what you mean I think.

  4. #19
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times
    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.

  5. #20
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times
    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.

  6. #21
    Senior Member Michael's Avatar
    Real Name
    Michael Benson
    Join Date
    Sep 2005
    Location
    United Kingdom
    Posts
    776
    Liked
    0 times
    Quote Originally Posted by ConqSoft
    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'
    Yes, that was what i was in reference too.
    Sorry if i was unclear. I'll try out your file edit.

  7. #22
    Senior Member Michael's Avatar
    Real Name
    Michael Benson
    Join Date
    Sep 2005
    Location
    United Kingdom
    Posts
    776
    Liked
    0 times
    Works fine now, thanks for the help.
    Glad to see i contributed to some bug stamping too

  8. #23
    vBSEO Staff Juan Muriente's Avatar
    Real Name
    Juan Carlos Muriente
    Join Date
    Jun 2005
    Location
    Puerto Rico
    Posts
    14,267
    Liked
    558 times
    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!


  9. #24
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times
    Quote Originally Posted by Juan Muriente
    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
    Really? How did the change fix his issue then?

  10. #25
    vBSEO Staff Juan Muriente's Avatar
    Real Name
    Juan Carlos Muriente
    Join Date
    Jun 2005
    Location
    Puerto Rico
    Posts
    14,267
    Liked
    558 times
    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!


  11. #26
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times
    heh. Yeah, could be.

  12. #27
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times
    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?

  13. #28
    vBSEO Staff Juan Muriente's Avatar
    Real Name
    Juan Carlos Muriente
    Join Date
    Jun 2005
    Location
    Puerto Rico
    Posts
    14,267
    Liked
    558 times
    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!


  14. #29
    Senior Member acers's Avatar
    Real Name
    Ajay
    Join Date
    Jul 2005
    Location
    India
    Posts
    508
    Liked
    0 times
    and what happens if you have multiple skins on board with diff image sizes?
    It will work for 1 style but what about others?

  15. #30
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times
    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.

Page 2 of 5 FirstFirst 1 2 3 4 5 LastLast

Similar Threads

  1. Image Size Attributes Question
    By Pagan in forum General Discussion
    Replies: 1
    Last Post: 02-16-2006, 02:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •