Copy link to clipboard
Copied
well I have created a recordset and I have a row in it for images named visual and I want the images to be displayed on the pages dynamically the images will be displayed with respect to the id value got from the url
And i want the images to be of a specific dimension width=300 and height=200 can someone plz help me this is the code that I m using now but the problem is that the page only shows the alt text which in this case is Images.
<img src=_post_images/"<?php echo $row_Recordset1['visual']; ?>" width="300" height="200" alt="Images" />
<img src=_post_images/"<?php echo $row_Recordset1['visual']; ?>" width="300" height="200" alt="Images" />
The quotes in your src attribute are in the wrong place. Assuming the name of the folder where the image are kept is _post_images, your code should look like this:
<img src="_post_images/<?php echo $row_Recordset1['visual']; ?>"
width="300" height="200" alt="Images" />
Copy link to clipboard
Copied
<img src=_post_images/"<?php echo $row_Recordset1['visual']; ?>" width="300" height="200" alt="Images" />
The quotes in your src attribute are in the wrong place. Assuming the name of the folder where the image are kept is _post_images, your code should look like this:
<img src="_post_images/<?php echo $row_Recordset1['visual']; ?>"
width="300" height="200" alt="Images" />
Copy link to clipboard
Copied
Thanks man thanks a lot it works great
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more