473,396 Members | 2,004 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

simple web gallery

I've set up a web gallery with 6 thumbnails per page, etc with php which
is a big complicated mess because I'm not a brilliant programmer... it
is the outgrowth of a couple classes I took at a community college & not
my main career... anyways someone asked me to set up something like that
for their web site and I'm wondering if there is a simpler php package
to accomplish this task. I prepare thumbnails in a subfolder named
thumbs and put annotation in little text files:

_DSC5801.jpg _DSC5801.txt thumbs/_DSC5801.jpg

I've got a copy running on localhost that includes admin stuff for
creating those text files, which most people would probably do using
mySQL (complicated) and you'd still need to set up a boatload of junk
for admin login so I guess those annotations would just have to be
created manually if this solution is going to be simple.

Any ideas?

I maintain another site with mySQL though I needed to hire someone more
fluent to set it up in a reasonable amount of time. Maybe something
simple but generally that gets way too complicated. I'm somewhat
familiar with the gallery package on sourceforge and that's way too
complicated although I suppose there's a way of turning most of the
options off. This is just for a few portfolio pages, it's not a big
complicated thing. For example, this is the output stripped to bare bones:

<a href="0.htm"><img src="thumbs/_PBF5442.jpg"width="100" height="66" </a>
<a href="1.htm"><img src="thumbs/_PBF5447.jpg"width="66" height="100" </a>
<a href="2.htm"><img src="thumbs/_PBF5465.jpg"width="100" height="66" </a>
<a href="3.htm"><img src="thumbs/_PBF5466.jpg"width="100" height="66" </a>
<a href="4.htm"><img src="thumbs/_PBF5476.jpg"width="100" height="66" </a>
<a href="5.htm"><img src="thumbs/_PBF5482.jpg"width="100" height="66" </a>
<br>
<img src="_PBF5466.jpg" title="_PBF5466.jpg" "width="640" height="428"
border="0">
<br>
Annotation here.

Kind of tedious to make six pages though, for each gallery... but still
probably faster than a big complicated project of automating that.
--
Paul Furman
www.edgehill.net
www.baynatives.com
Jun 27 '08 #1
4 1382
http://mntPaul Furman wrote:
I've set up a web gallery with 6 thumbnails per page,
Any ideas?
http://montana-riverboats.com/robopages.tgz
Jun 27 '08 #2
salmobytes wrote:
http://mntPaul Furman wrote:
>I've set up a web gallery with 6 thumbnails per page, Any ideas?

http://montana-riverboats.com/robopages.tgz
Thanks, interesting... looks like you login to upload & it probably
generates thumbnails? The provided admin login doesn't let me in though.
I see where it'll display an image if I copy the the jpg name into the url.

--
Paul Furman
www.edgehill.net
www.baynatives.com

all google groups messages filtered due to spam
Jun 27 '08 #3
Paul Furman wrote:
salmobytes wrote:
>http://mntPaul Furman wrote:
>>I've set up a web gallery with 6 thumbnails per page, Any ideas?

http://montana-riverboats.com/robopages.tgz

Thanks, interesting... looks like you login to upload & it probably
generates thumbnails? The provided admin login doesn't let me in though.
I see where it'll display an image if I copy the the jpg name into the url.
Actually it doesn't generate thumbnails. I'll have to add that.
But it does recurse down and back up through a file system,
like a graphical file system widget, making
a default page for each image, *txt or *.htm* ...and links for
everything else (of recognized type).....a config file chooses
between tables layout or css divs.
echo -n username | md5sum goes into the login file,
with three permissioins: admin, uploader and reader

--
/* Colin (Sandy) Pittendrigh >--O0>
** Have code will travel
*/
Jun 27 '08 #4
<comp.lang.php>
<Paul Furman>
<Sat, 21 Jun 2008 14:31:43 -0700>
<6q******************@flpi146.ffdc.sbc.com>
I've set up a web gallery with 6 thumbnails per page, etc with php which
is a big complicated mess because I'm not a brilliant programmer... it
is the outgrowth of a couple classes I took at a community college & not
my main career... anyways someone asked me to set up something like that
for their web site and I'm wondering if there is a simpler php package
to accomplish this task. I prepare thumbnails in a subfolder named
thumbs and put annotation in little text files:

_DSC5801.jpg _DSC5801.txt thumbs/_DSC5801.jpg

I've got a copy running on localhost that includes admin stuff for
creating those text files, which most people would probably do using
mySQL (complicated) and you'd still need to set up a boatload of junk
for admin login so I guess those annotations would just have to be
created manually if this solution is going to be simple.

Any ideas?
www.jpgimage.co.uk started off as a simple app and somewhere i could
upload a screenshot to without the need to fire up a ftp app .

Over several months it gradually grew as i added options to it .

While you can of course install a script that somebody wrote - the fact
is its never going to look or do exactly what you want it to do .

So , What you could do is start from scratch to get the uploader to work
and to display the image , Then learn as you go by adding various
options to it .

The first thing to learn being how to automatically create thumbnails
using the image you just uploaded .

BTW: the jpgimage.co.uk website doesnt use mysql - and its all done with
flat files - so despite what you might think - you dont need to use a
sql database if you dont want to .
Jun 28 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Captain Ranger McCoy | last post by:
Hello! Suppose I have ten servers at ten ips: x.x.x.1 x.x.x.2 x.x.x.3 x.x.x.4 and so on Each server hosts 100+ photo galleries, all under a single domain name,
1
by: dddddd | last post by:
i need do create simple dinamic site - built mainly of pictures(they are the only dinamic part). pictuers differ by the -Location- and by -Time- (in which they were taken)... so on the index...
4
by: bmgz | last post by:
I have a simple DHTML gallery: <script> viewPhoto(thumb){ function viewPhoto(thumb){ document.getElementById('mainPhoto').src=thumb.href; return false; } </script>
11
by: ste | last post by:
Hi there, Further to my recent posts where I've received excellent help from Rik and Jerry, I've ended up with an image gallery on my website that displays images in a table, 3 images per row. ...
6
by: mdg | last post by:
Hi everyone. I'm having trouble finding something. If I can't find it, I could bumble my way through writing something, but I thought I'd check around first. I am looking for a php script or...
1
by: www.web20developers.com | last post by:
http://www.web20developers.com http://www.web20developers.com/index.php?option=com_content&task=view... Ajallerix : AJAX, simple, fast Web image gallery demo ; at Novell AJAX -...
11
by: shror | last post by:
hi every body I need help please i have designed an image gallery of about 20 pictures and they are shown in thumb nail views and for viewing the largeer version of the images i have added a...
25
by: Gilles Ganault | last post by:
Hello I've been googling for a couple of hours, but still haven't found what I need: - really simple PHP-based image gallery software. Ideally, just a single file that I just drop into a...
0
nomad
by: nomad | last post by:
Hello Everyone. I founded an Flash and xml photo gallery. It works but I took it to another step What I want is to have six different galleries in one Flash file. I figure out how to do that but ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.