View Single Post
  #16  
Old 12-17-2017, 04:07 PM
Dinocanid's Avatar
Dinocanid Dinocanid is offline
Member
 
Join Date: Aug 2016
Location: Maryland, USA
Posts: 516
Gender: Unknown/Other
Credits: 63,654
Dinocanid is on a distinguished road
Default

I updated the code. Now it should work fine as an image by using:
HTML Code:
<img src='/yourfilename/{$adoptIDevariable}'>
So for example, I can now use it like this:
HTML Code:
<img src ='/wolfimage/{$wid}' height='auto' width='75%'>
This also resolves scaling issues, so no more ugly scroll bars on your images, and it allows you to display more than one generated image (like on the myadopts index). The only thing is that half of the images most likely fail to load if many are shown on one page.
__________________
Reply With Quote