Jump to content
Latest News: (loading..)

Search the Community

Showing results for tags 'tep_image'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News and Announcements
    • News and Announcements
    • Partner Announcements
    • Ambassadors
  • Commercial Support
    • Developer Feedback
  • osCommerce Online Merchant v2.x
    • General Support
    • Installation and Configuration
    • Upgrading from Earlier Versions (v2.x to v2.x)
    • Add-Ons
    • Tips and Tricks
    • Security
  • Development
    • osCommerce Online Merchant v2.4
    • osCommerce Online Merchant Community Bootstrap Edition
    • osCommerce Online Merchant v3.x
    • Development Proposals
  • General
    • OSCOMMERCE.TV
    • Next Steps / Optimizations / Marketing
    • Live Shop Reviews
    • E-Commerce Laws
    • General Discussions
    • PHP / SQL / Web Design
  • oscBooks and oscTemplates's Announcements
  • PayPal's Announcements
  • Sage Pay's Announcements
  • Solomono - new level osCommerce templates's Announcements
  • German Community's OSCOM v2.x
  • German Community's Allgemein
  • German Community's OSCOM v3.x

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Real Name


Location


Interests


Website


Skype

Found 1 result

  1. BrockleyJohn

    Spaces in image names

    Although spaces in file names are considered a bad thing on the internet, osc allows you to upload an image whose name contains spaces and uses that name for the online version, without any apparent problems. However I have noticed that recently they have started throwing up errors in google webmaster tools. g has said for a long time that they consider image names containing spaces to be invalid and that it could prevent products showing in g shopping results. The actual error thrown up is weird - it reports as a redirect error, and shows the problem url as the image name up to the first space. Fortunately the fix is simple - you just need to edit the tep_image function in catalog/includes/functions/html_output.php to make sure that any spaces are converted to %20: strtr(tep_output_string($src),array(' ' => '%20')) instead of tep_output_string($src) Of course, avoiding spaces in the names in the first place is a good idea too.
×