Đã hoàn thành

153347 Very simple script mod

I currently use an on-the-fly watermark when a visitor of my website clicks a link to an image.

This is done with a htaccerss AddHandler and a [url removed, login to view] script. In this script, the watermark is stamped on the image and the output shown to the user.

I want you to make a simple modification to that script:

1) check if a chached version of the image is available when the [url removed, login to view] is executed.

If there is a cached version of the watermarked image, show this picture to the user.

2) If no cached file exists, write a cached version of the image and show the output to the browser.

The cached image should be written in a subfolder of the folder with the image ("cache/"). There should a "_cached" be inserted in the filename of the cached image, as well ("[url removed, login to view]").

Currently, I check if the image width is smaller than 389 pixels. If so, the image is not watermarked. This check must stay intact. Images that are smaller than 389 pixels should not be cached.

You only have to program the check if the cache file exists and the writing of the cache file.

You will get the source code of the htaccess and [url removed, login to view] when I accept your bid.

Spammers will not be accepted, so post something relevant to the project.

Kĩ năng: Bất kì công việc gì, PHP

Xem nhiều hơn: writing in script, script writing program, write a simple php script, script writing, modification to php script, output script, php script image watermark, write script file, write code htaccess, visitor script, file cache, file watermark, simple php file browser, source code simple project, php wrapper script, project simple output, write cache, simple project source code, script check link website, visitor program, writing modification, image watermark script, source program modification, stamped, wrapper php

Về Bên Thuê:
( 7 nhận xét )

ID dự án: #1899530

Được trao cho:


We can modificate the script.

$10 USD trong 1 ngày
(9 Đánh Giá)