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 - dplmartin

Pages: [1]
1
Hi,

An alternative download mod seems to be a common thing. I've done a search and this was the closest I got to what I want to acheive:
http://www.4homepages.de/forum/index.php?topic=7499.0

This mod expects full size images to be stored on the 4Images server.

Ideally, what I would like is two Download buttons. The first button will just download the display image from the 4Images server. The second button will take the link stored in the image_download_url field and parse it through to the browser. It would be nice to count the downloads but not essential. I'd like the option to download all images in the Lightbox to download the full size versions.

Being able to download the display image lets people get a small version of the image for general document use. The second download button will be for a full size version of the image that could be many MBs in size. The full size version will not be stored on the same server as 4Images is using. There will be files such as PDFs and Paint Shop Pro files in the database, so the download button must force the browser to give people the Open/Save As choice for the file. I'm not overly concerned about security, so if the easy way is to reveal the URL and pass it to the browser to deal with directly, that's OK.

URLs for the full size image could be http://, ftp:// or file:///.

I'd appreciate any experienced user who could give me some help on this.

Regards,

Dominic

2
I have a similar problem with the download button (not the zip function). I download a zero KB file. The php.ini has the allow_url_fopen set to on. The software is only being used on an internal network, so all references are to servers on the local network. I'm specifying the download URL as file://///server%20name/share/directory/image%20name.jpg. Has anyone got any ideas.

Dominic

3
Discussion & Troubleshooting / Re: Implementing Image Search By Date
« on: December 05, 2008, 10:26:58 AM »
Thanks, this is almost the mod I'm looking for. The only issue is that it expects a keyword (or at least the number of keyword characters) before a search will work. I want to be able to return all images (keywords or not) between a set date range.

Dominic

4
Did anyone ever figure out how this mod could be changed so that it does not require any keyword or just one * to show all images between set dates?

Dominic

5
Discussion & Troubleshooting / Implementing Image Search By Date
« on: December 04, 2008, 04:16:08 PM »
Hi,

I was surprised to find that the advanced image search does not include a search for images by date.

When editing image properties in the Admin Control Panel, I can see that the date form field is called "image_date". The search form template makes references to fields such as {search_keywords}. Is adding a date search as simple as adding a new field for {search_date} to the template or is there some more programming involved somewhere?

Dominic

6
Discussion & Troubleshooting / Re: New User Requires Some Information
« on: December 04, 2008, 03:25:37 PM »
I've fixed the ImageMagick issue. I did two things:

1. Downloaded the Static binary installer and installed ImageMagick from that instead.
2. Specified the path using the 8 dot naming convention, e.g C:\Progra~1\ImageM~1.6-Q\convert.exe

The thumbnails now generate without errors.

Dominic

7
Discussion & Troubleshooting / New User Requires Some Information
« on: December 04, 2008, 12:47:50 PM »
Hi,

I'm a new user. I've just installed the Mobile Server version for testing on Windows and will probably install the live version on an Apache server. In both cases, the server will only be made available to an internal network.

First of all, is there a manual or detailed documentation to read that I've missed concerning configuration? I'm guessing at the meaning of some of the configuration settings.

Secondly, if you have any insight that could help me configure 4images for the following scenario, that would be very helpful.

My Ideal Setup
I have hundreds of images stored on a fileserver. I need to automatically import all the images into the database and generate thumbnails but I want to leave the fullsize images on the fileserver and only store the thumbnails on the web server. I will then open each image and assign keywords and categories (a daunting task). File formats in the image collection include TIF, JPG, EPS, PDF, PNG, BMP, PSPIMAGE.

From a user perspective, I want them to be able to perform keyword/description/date searches on the images, with a list of thumbnails for the results. When clicking on an image, I want a larger version to display (about 800px width max) but not the full size image. Some of our images are thousands of pixels big and not suitable for displaying in a browser. Once they've found the image they want, they can click the download button to retrieve the image from the fileserver.

What I've Discovered So Far
Using this forum I've discovered that by creating the categories first and looking for their ID, you can dump images into that category folder and ask the software to check for new images to add them to the database. I've also found the auto thumbnailer to create the thumbnails for these imported images and the auto image resizer to make every image 800px wide. Is this the best way to acheive what I want? It does mean that I have to import all the images at their full filesize onto the web server before the image and file resize occurs. It also resizes images that are already less than 800 pixels wide. Can it leave these alone? Also, how do I deal with PDFs and PSPimages? These could be large files that will only display in the browser as icons, yet still use up uncessary filespace. It would be more efficient to just have them as database entries.

The download button link does not seem to be working correctly. I can download a file with the image name but it is 0 bytes. In the image properties, I'm setting the download URL as:
file://///fileserver/server%20share/directory/image%20name.jpg

If I use this URL directly in a browser or as a href link on a page it will work fine. However this does not appear to be the case in 4Images. I assumed that 4Images just programs the download button link with whatever is in this field.

My installation of ImageMagick doesn't seem to be working; I get Error Creating Thumbnail messages. (In this test, the images were copied to the category folder.) I've installed the ImageMagick Windows binary dynamic 16 bits per pixel DLL and set 4Images to use ImageMagick. I've given it the windows path to the installation folder C:\Program Files\ImageMagick-6.4.6-Q16\convert.exe. Any idea what I've done wrong? Does anyone have any comments about which of the three image processors to use based on the file formats I  mentioned at the start of this thread?

Adding other file formats seems easy enough by specifying it in the configuration and creating a html template in the /media directory. Is there any documentation on creating these? It looks as if you can configure in the template which application is used to open the file. For example, I would want PSPimages to open in Paint Shop Pro.

Thank you for any constructive advice that you can give.

Regards,

Dominic

Pages: [1]