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 28. Nov 2024, 12:10

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  [ 11 posts ] 
Author Message
 Post subject: Cannot save as .jpg
PostPosted: 20. Nov 2006, 17:32 
Offline

Joined: 11. Nov 2006, 09:59
Posts: 59
Hello,

I cannot save the images as .jpgs in Internet Explorer.
They only save as bitmaps.
I have checked this from several different computers and 2 different operating systems (XP and W2K) and the result is the same.

I have follwed the suggestions in this post:
http://tinywebgallery.com/forum/viewtopic.php?t=396
but it still does not work.

Here are my setting from the config.php file:
$enable_download = true;
$enable_download_counter=true;
$enable_direct_download=false;
$open_download_in_browser=false;
$open_in_maximized_view=false;
$open_download_in_new_window=false;
$open_as_popup=false;

I have fiddle around with these settings in a variety of combinations but no luck.....

Can you tell me if there is another way to fix this problem?

Thanks for your help. :)


Top
 Profile  
 
 Post subject:
PostPosted: 20. Nov 2006, 17:58 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
open dl in browser should actually give you a download box.

but you can download the new i_popup.php

and enable open as popup then when you click on the image on the popup you get a download box.

$open_download_in_browser=false; has to be set.

but if you do this with your settings you should get a dl window right away!

have you tried with ie7 too?


And when does this happen? when you rightclick on the normal detail image or in the popup?

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 20. Nov 2006, 20:52 
Offline

Joined: 11. Nov 2006, 09:59
Posts: 59
Hello,

Thanks for the answer.

I am not getting any pop-up boxes for the download with my settings the way they are.

I do get the normal windows context menu to "Save as"
Then I get an MS Windows box to specify the location to save the file to.

(Edit I forgot to answer when) It happens when I right click on the main image, not on a thumbnail.

IE 7 is still far from widely adopted, so I still have to fix the problem in IE 6.

Can you tell me what my ideal setting sholud be, are the ones I listed in the first post correct?

In what directory do I place the new i_popup.php file?

Thanks again, it really is an excellent program you made. :) I am sure that we will find a solution to this.


Top
 Profile  
 
 Post subject:
PostPosted: 20. Nov 2006, 21:54 
Offline

Joined: 11. Nov 2006, 09:59
Posts: 59
Hello,

I want to add to my last post:

On the overview page the thumbnails can be saved as jpg's
On the top 13 page the thumbnails can only be saved as bmp's

I don't know if that helps any....
I keep playing with the parameters but still no luck.


Top
 Profile  
 
 Post subject:
PostPosted: 21. Nov 2006, 01:37 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I know - on the overview the thumbs are directly linked to the cache!
in the topx the image.php is used because they are calculated dynamically!

I'll check if I find a workaround for IE.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 21. Nov 2006, 02:16 
Offline

Joined: 11. Nov 2006, 09:59
Posts: 59
Hello,

Thanks for your effort I do appreciate it.

I am still working on it at my end as well.


Top
 Profile  
 
 Post subject:
PostPosted: 21. Nov 2006, 02:50 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I have a solution ;).

IE does normally ignore the content type! (as soon as always ie ignores standarts!)

you have to set:

header("Cache-Control: must-revalidate");

below
header("Content-Disposition: ...

in the imagefunctions.inc.php.

The problem is then that the images that are processed by image.php are not cached by the browser anymore! This seems to be the only solution because otherwise ie ignores the header settings.

If you have a better solution - let me know!

with the existing settings you can still get a download box by simply clicking on the image!


the i_popup.php has to owverwrite the file in the i_frames folder.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 21. Nov 2006, 03:11 
Offline

Joined: 11. Nov 2006, 09:59
Posts: 59
Hello,

Thanks for the answer and thanks for staying up so late to help me.
I will try it out.
I now know where to place the i_popup.php file I will try that too.

Let's leave that for tomorrow....

Thanks again


Top
 Profile  
 
 Post subject:
PostPosted: 21. Nov 2006, 10:19 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
what you can do too:

http://www.tinywebgallery.com/demo2

and click on the image with the left mouse button.
This is a normal setting in the config.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 21. Nov 2006, 16:38 
Offline

Joined: 11. Nov 2006, 09:59
Posts: 59
Hello,

I made the code change you suggested to the imagefunctions.inc.php file
and it is now working perfect.

On my end, after testing on a few different machines, the images are being cached by the browser and on the server as well.

:D So all is good :D

Thank you for your time and effort.


Top
 Profile  
 
 Post subject:
PostPosted: 21. Nov 2006, 16:42 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
good - then I'll add this to the next release.

/Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 5 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