WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums


Minimize to fit

Version:
Status: fixed
printPrint


Minimize to fit
dreamweaver
Experienced
Avatar

Usergroup:
Joined: May 05, 2004
Total Topics: 12
Total Posts: 53
Posted 09/24/04 - 03:47 PM:
quote post
#1
Now, I don't mean to nitpick, but the function I was thinking about was more like one -- just like that many browsers have. That is -- if someone's screen is a certain size, then it scales the image down (if needed), to fit in. Of course, it would only scale it down to a certain size. Otherwise -- if someone had a larger image, then it would view in the proper size. Basically, literally an automatic "minimize to fit".

Not sure if that's actually possible; just wondering if it was. If it is, I think it would make a good possible feature.
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5703
Posted 09/25/04 - 03:26 AM:
quote post
#2
Obviously, web pages do not know a person's screen size. Besides which, you're already using absolute sizes on your site.

Edited by Paul on 09/25/04 - 03:29 AM
dreamweaver
Experienced
Avatar

Usergroup:
Joined: May 05, 2004
Total Topics: 12
Total Posts: 53
Posted 09/25/04 - 03:30 AM:
quote post
#3
Where?
dreamweaver
Experienced
Avatar

Usergroup:
Joined: May 05, 2004
Total Topics: 12
Total Posts: 53
Posted 06/15/05 - 09:19 AM:
quote post
#4
Did the capability for using...

<img src="download.php?id={IMAGEID}&edit=& width=720&height=1500&action=&useedit=" alt="{IMAGETITLE}">

...without the conditional or whatever change in 0.15? I upgraded from 0.12 and it doesn't work anymore. As in, the images in the Image Details (or, actually -- the comments template in my case) are displayed at full size.

As another note, I just checked that on the default template, and it's

<img src="download.php?id={IMAGEID}&edit={EDIT}&action={ACTION}&useedit={USEEDIT} " alt="{IMAGETITLE}">

....different to mine there, though not entirely sure why (don't recall changing other parts of the img tag there). Anyhow, when I put in the default into the Comments template it doesn't display properly (while it does on the Image Details just fine).

Though, every time I edit a template I now get
Warning: filesize(): Stat failed for ../templates/default/badrequest.tpl (errno=2 - No such file or directory) in /home/dw/public_html/wsngallery/admin/templates.php on line 307

at the top.

Edited by dreamweaver on 06/16/05 - 09:56 AM
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5703
Posted 06/16/05 - 07:05 PM:
quote post
#5
Odd, seems to not work (though it works in Links 3.2). Well, there'll be a Gallery 2.16 in the next few days.

Edited by Paul on 06/16/05 - 08:52 PM
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.