jws2bay
asked on
php dropping ".gif" and appending "-sca1-1000.png "
I am working on a php/mySQL page which has been working fine for a long time, suddenly something which was working is not. The problem shows up in a lightbox "click on image for more detail". Noimages are being shown because the path is incorrect. The actual statement is as follows:
=====================
<a href="images/<?php echo $row_Group1['Large_Image'] ; ?>" rel="lightbox" title="<?php echo $row_Group1['Name']; ?>"><img src="images/<?php echo $row_Group1['Featured_Imag e']; ?>" alt="<?php echo $row_Group1['Product_Code' ]; ?>" <?php echo $row_Group1['Display_Facto r']; ?> border="0"></a>
====================
I am getting unexpected results from a php fetch to my db.
This <?php echo $row_Group1['Large_Image'] ; ?> is suppose to bring back this GEN037CH_12862.gif
but it is bringing back GEN037CH_12862-sca1-1000.p ng .
Why is it dropping the ".gif" and appending "-sca1-1000.png "
=====================
<a href="images/<?php echo $row_Group1['Large_Image']
====================
I am getting unexpected results from a php fetch to my db.
This <?php echo $row_Group1['Large_Image']
but it is bringing back GEN037CH_12862-sca1-1000.p
Why is it dropping the ".gif" and appending "-sca1-1000.png "
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the help Chris. Your answers are always spot on.
No worries. Glad I could help :)
ASKER