Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > MISCELLANEOUS > Archives > Bug Report 1.4.x

Post Reply
 
Thread Tools
  #1  
Old 04-24-2005, 10:39 PM
steff Offline
pixelpost guru
 
Join Date: Feb 2005
Location: Milan, Italy
Posts: 151
Send a message via MSN to steff
error in width and height

after replacing all instances of str_ with ereg_ (see my post below),

i noticed that in Explorer my images aren't shown!
while in FF they are.

I looked at the HTML source in both browsers, and I saw the following code:

Code:
<img id="image" src="images/20050423225156_magnolie2-800.jpg" alt="Magnolie 2" title="Magnolie 3" width=" " height="¯" />
it means that width and height parameters are not written by index.php
Reply With Quote
  #2  
Old 04-25-2005, 08:31 AM
Anonymous Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 810
Wow! I'm puzzled!
I'll check it right away!
Reply With Quote
  #3  
Old 04-25-2005, 08:49 AM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
after replacing all instance of str_replace with ereg_replace inside index.php:
modify the line 158-159
from
Code:
$tpl = ereg_replace("<IMAGE_WIDTH>",$image_width,$tpl);
$tpl = ereg_replace("<IMAGE_HEIGHT>",$image_height,$tpl);
to
Code:
$tpl = str_replace("<IMAGE_WIDTH>",$image_width,$tpl);
$tpl = str_replace("<IMAGE_HEIGHT>",$image_height,$tpl);
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #4  
Old 04-25-2005, 08:58 AM
steff Offline
pixelpost guru
 
Join Date: Feb 2005
Location: Milan, Italy
Posts: 151
Send a message via MSN to steff
thanks, it works now!

I am the only guy who got this problem?
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 02:38 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs