Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - iTwins

Pages: [1]
1
Hi,

No disrespect to the author but I found this mod to be a little too slow, having to resize and compress the original image in real time (even on a T2300 1.66GHz Core Duo processor that I did my testing on). To rectify this, I simply and ONLY modify the three files:

jpg.html
png.html
gif.html

...and replace the original code:

Code: [Select]
<!-- Template file for GIF Files -->
<img src="{media_src}" border="1" alt="{image_name}"{width_height} /><br />

with this instead:

Code: [Select]
<!-- Template file for GIF Files -->
<a target="_blank" alt="{image_name}" href="{media_src}"><img src="{media_src}" border="1" alt="{image_name} {"width="800" height="600"}></a><br />

It's nothing fancy but it works just the same but faster.

Note:
Don't challenge me as I suck writing web pages.... but I did this based on trial and error and plagerize codes from other websites :)

Pages: [1]