Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 24. Nov 2024, 14:12

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 13 posts ] 
Author Message
PostPosted: 8. Jun 2008, 06:32 
Offline

Joined: 15. Jan 2006, 01:53
Posts: 55
Location: Ohio USA
I'm sorry to bother you with these beginner questions but I don't see the answer in FAQs or config.php.

I want my width x 120 high thumbnails displayed as is not distorted. Is this possible? If not can I at least clip the widths instead of distort?

Due to server constraints, I've made my own thumbnail and small images and uploaded them to the cache directory. When people click on the small images a bothersome window appears and takes 4ever to create yet another resolution version.

What is the resolution and I can make and upload to cache if it speeds things up?

Can I just avoid this 3rd resolution window and let people get the high res version?

I have "$enable_download = true;" in my_config.php yet when this 3rd resolution image gets generated there is no way to save the high res file.

How do I let people go to the high res versions?

http://www.chickenhugger.com/FamilyPhoto/index.php

Alan


Top
 Profile  
 
 Post subject:
PostPosted: 8. Jun 2008, 08:42 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Disorted thumbnails? you can turn off the clipping if you mean that.
and I have checked your link - the thumbnails in the thumbnail page and the detail page look strange - but if you have created the thumbnails you have to create them in x = y size. If not you have to turn of clipping!


How big are your high resolution images. Because if you display the original image (no matter where) TWG does only return it. If this is slow it's the connection.

And always displaying the hight res images are normally a bad idea because every single real big image has to be shown -> normally really slow!

About the 3rd resolution image - what do you mean with that. The original? I hope you are not planning to show the original on the detail page right away (what you can be setting the small picutes size very high + tell TWG not to resize the images if they are smaller than the given value)

And if you want to original you should of coure turn off the lightbox and use one of the many other ways to display the original (popup/new browser/download ...)

/Michael


Top
 Profile  
 
PostPosted: 8. Jun 2008, 10:11 
Offline

Joined: 15. Jan 2006, 01:53
Posts: 55
Location: Ohio USA
"Disorted thumbnails? you can turn off the clipping if you mean that."
THX I'll try that tomorrow.

My high res images are 7 MB. If I click on a small image I see a window centered on but smaller than my browser window. It takes my server 4ever to downsize to an image for this window (Perhaps you call it a pop up window) There is no way to download the high res image from this image.

My server (as are most servers) is limited in memory and, with today's high res images, is not given enough memory to produce the 120 or 400 high images. Hence, I make them and upload them to the cache directory. I strongly recommend Easy Thumbnails to produce the smaller images (FREE and good)
#removed_broken_link

What would be nice is to be able to download the high res image directly from the small image. My server is SLOW (very slow). The 400 pixel high images are enough for people to if know they want to download the high res image.

Any road, I just want to let people download the high res image in some way and nobody can now. I have "$enable_download = true;" in my_config.php...

I've got computer programmers (like me) telling me to abandon TWG. But I know this is just about the final hurdle and TWG can do what I want and more.

Alan (strong TWG supporter)


Top
 Profile  
 
 Post subject:
PostPosted: 8. Jun 2008, 10:29 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
The simply set

$open_download_in_browser = false;
$open_as_popup = false;

The you get a download box if you click on the image.

If you generate your thumbnail by yourself - make sure to generate them as squares if you use the clipping function. Looks like you have simply resized them.

Btw: I use cam2pc to resize images because ther you can copy the exif info as well.

But I don't know a software where you can do the clipping during resizing.

The easiest way to generate the thumbnails to do this on your local machine with a local TWG install. And then simply generate them all in the administration. Then the naming is done for you too ;).

/Michael


Top
 Profile  
 
 Post subject: high res download
PostPosted: 8. Jun 2008, 20:00 
Offline

Joined: 15. Jan 2006, 01:53
Posts: 55
Location: Ohio USA
I still have major problems with users downloading the high res images.

In summary:
--> How can users download high res images without the preview shown when clicking on a small image?
alternatively
--> How can I pre create the images shown when clicking on a small image, what should I name them, and where do they go?

I tried this way
$enable_download = true;
$open_download_in_browser = false;
$open_download_in_new_window=true; // TRUE
$open_as_popup=false;

And this way
$enable_download = true;
$open_download_in_browser = false;
$open_download_in_new_window=false; // FALSE NOW;
$open_as_popup=false;

If I click on a small image I see a window centered on but smaller than my browser window. It takes my server 4ever to downsize to an image for this window (Perhaps you call it a pop up window)

Sometimes the server quits part way through creating this image.

I can save these images now but sometimes it wants to save only as .bmp even though the originals are .jpg (perhaps just for the ones the server did not finish creating)

---------

Good idea to use a local TWG to create the thumbnail and small images.

I tried that once but got frustrated by selecting and installing a php server on my Windows XP boxes.

Is there one you recommend?

THX 2x,
Alan


Top
 Profile  
 
 Post subject: SAVE IMAGE CONTINUED
PostPosted: 8. Jun 2008, 20:09 
Offline

Joined: 15. Jan 2006, 01:53
Posts: 55
Location: Ohio USA
If I click on a small image I see a window centered on but smaller than my browser window. It takes my server 4ever to downsize to an image for this window (Perhaps you call it a pop up window)

I can only save these images by right clicking - SOMETIMES. It seems if I right click just as the image is finished, I can save it as an image. Otherwise all I get is "save page as"

HELP!!!!!!!!!!!


Top
 Profile  
 
 Post subject:
PostPosted: 8. Jun 2008, 23:46 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I don't know what your other settings are. But I have tested the settings I sent in the last post with the default settings from the installation!

Then you get the save as dialog!

Check if you have direct download set to false! Because if this is set to true I can not set any response header and e.g. IE is trying to save a jpg as bmp sometimes (known bug of IE!). With direct download TWG does nothing with the image!

http://www.tinywebgallery.com/demo3/ind ... ilding.jpg

is set this way.

The images you get when you click on the images are the originals! they are not resized anymore (This would not work with your 7 MB files anyway).

But you can use images up to ~ 3052 x 2292. Why don't you simply resize all your images to a maximum resolution of ~ 3000 x 2200 and let TWG generate everything. Who needs an image bigger than 3000 x 2200? That's like a 6 Megapixel image - who needs images bigger than that?

About a local install: use xampp - you only have to unzip it and you are done!

/Michael


Top
 Profile  
 
 Post subject: my_config.php
PostPosted: 9. Jun 2008, 00:28 
Offline

Joined: 15. Jan 2006, 01:53
Posts: 55
Location: Ohio USA
any help will be appreciated. Here is my config renamed and moved to allow access.

#removed_broken_link


Top
 Profile  
 
 Post subject: Your example
PostPosted: 9. Jun 2008, 01:58 
Offline

Joined: 15. Jan 2006, 01:53
Posts: 55
Location: Ohio USA
does exactly what I want. Why can't I get it to happen on my site?


Top
 Profile  
 
 Post subject: demo3
PostPosted: 9. Jun 2008, 02:05 
Offline

Joined: 15. Jan 2006, 01:53
Posts: 55
Location: Ohio USA
Since demo3 does what I want with downloads, can I download the configs somehow?


Top
 Profile  
 
PostPosted: 9. Jun 2008, 04:03 
Offline

Joined: 15. Jan 2006, 01:53
Posts: 55
Location: Ohio USA
Updated to latest version of TWG all is well and swell!


Top
 Profile  
 
 Post subject:
PostPosted: 9. Jun 2008, 09:30 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
so it does work now?

/Michael


Top
 Profile  
 
 Post subject: Solved
PostPosted: 10. Jun 2008, 04:54 
Offline

Joined: 15. Jan 2006, 01:53
Posts: 55
Location: Ohio USA
Yes it works now. Thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 64 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy