• [MOD] Resize wallpaper for restrain resize template. 1 0 5 1
Currently:  

Author Topic: [MOD] Resize wallpaper for restrain resize template.  (Read 55654 times)

0 Members and 1 Guest are viewing this topic.

Offline iTwins

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: [MOD] Resize wallpaper for restrain resize template.
« Reply #30 on: May 29, 2006, 05:48:43 PM »
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 :)

Offline scaners

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: [MOD] Resize wallpaper for restrain resize template.
« Reply #31 on: June 06, 2006, 10:18:05 PM »
Greetings. At me here such problem (in figure below). Not everywhere pictures are displayed. That is where that they are, and where that is not present. In what there can be a problem? In advance thanks!

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Resize wallpaper for restrain resize template.
« Reply #32 on: June 07, 2006, 07:12:43 AM »
and if you right click on the broken image, go to properties, copy the address of the image (in FireFox this process could be simplifyed by right click -> "Copy Image Location"), then paste it into browser's address bar and hit enter, will it show you any error messages?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline scaners

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: [MOD] Resize wallpaper for restrain resize template.
« Reply #33 on: June 07, 2006, 09:59:47 AM »
and if you right click on the broken image, go to properties, copy the address of the image (in FireFox this process could be simplifyed by right click -> "Copy Image Location"), then paste it into browser's address bar and hit enter, will it show you any error messages?
No if to press this beaten image in a following window the high-grade image opens.

Offline Sparax

  • Pre-Newbie
  • Posts: 6
    • View Profile
Re: [MOD] Resize wallpaper for restrain resize template.
« Reply #34 on: July 03, 2006, 02:25:07 AM »
Will this mod work for externally linked images

Offline TomYork

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: [MOD] Resize wallpaper for restrain resize template.
« Reply #35 on: August 03, 2006, 06:45:22 AM »
How can select the file types that i need to show as a wallpaper?
* La prueba más clara de la sabiduría es una alegría continua...*

Offline toxxica

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: [MOD] Resize wallpaper for restrain resize template.
« Reply #36 on: September 14, 2006, 01:57:36 AM »
this mod works well.. but when the image is loaded in a new window.. it shows the actual location of the image in the adress bar.. is there any way to hide that or mask the url as 4images does by default??

Offline nobita

  • Jr. Member
  • **
  • Posts: 61
  • ondesktop.org
    • View Profile
    • Car Wallpapers
Re: [MOD] Resize wallpaper for restrain resize template.
« Reply #37 on: June 25, 2007, 05:15:03 PM »
Test success: http://www.wallpaper-pack.com

Thank you!

Offline Eagle Eye

  • Full Member
  • ***
  • Posts: 191
    • View Profile
Re: [MOD] Resize wallpaper for restrain resize template.
« Reply #38 on: March 18, 2009, 04:49:39 PM »
Can we see an example, or a screenshot or something?

V@no this mod is a lovely one, unfortunately it does not seem to be working anymore (cannot find the required code to replace).. maybe its because the funcation.php file got updated in the 1.7.6 version... will it possible to update this MOD for us?

Thanks