Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am currently evaluating various content management system to play with on my webserver using apache, php5, and mysql (LAMP). I have evaluated Drupal and found it to be not proper for what I need because its not flashy enough. Mambo has been what I am leaning toward but I have recently installed and am working on joomla. Nonetheless, I am looking for a photo gallery component to either joomla or preferably mambo that will allow me manually specify a picture directory in my filesystem that is a depository for pictures. I want the component to show all the pictures in the gallery prefferably through mambo. Does anyone have any experience with this? So far, I wrote a script that generates an html page that I put in a public_html directory. It works ok for JPGs but I am looking for something more robust.
- Jim
Here is my current script:
Code:
#!/bin/bash
#Created index file pointer
index="/home/bryan/public_html/index.html"
#Created MyPictures Directory Pointer
MyPicturesDir="/home/bryan/Desktop/MyPictures"
#Create Webserved directory
WebDir="/home/bryan/public_html"
#Create Username
ownerUserName="bryan"
#Create Header and Footer Pointer
header="/home/bryan/.htmlscripts/header.html"
footer="/home/bryan/.htmlscripts/footer.html"
cd "$WebDir"
rm *
cd "$MyPicturesDir"
cp * "$WebDir"
cd "$WebDir"
for file in *
do
convert -thumbnail 150 "$file" "`basename "$file" .jpg`_thumbnail.jpg"
done
cat "$header" >> "$index"
cd "$MyPicturesDir"
echo '<table border="4" align="center" cellpadding="10">' >> "$index"
counter=0
for Filename in *
do
echo '<td align="center" valign="top"> ' >> "$index"
echo '<h5>'`basename "$Filename" .jpg`'</h5>' >> "$index"
echo '<a href="'$Filename'"><image src="'`basename "$Filename" .jpg`_thumbnail.jpg'"></a>' >> "$index"
echo '</td> ' >> "$index"
counter=$((counter+1))
if [ "$counter" = 5 ] ; then
echo '<tr> ' >> "$index"
counter=0
fi
done
echo '</table>' >> "$index"
echo '<div align="right"><h4>This page was last compiled '`date`'</h4></div>' >> "$index"
cat "$footer" >> "$index"
cd "$WebDir"
for File in *
do
chown "$ownerUserName" *
chmod 744 *
done
I don't know if this will do all of what you want to do, but I've been using zOOm Media Gallery for Joomla and it meets my needs. If you use it, you'll want to keep it patched as there have been a couple of exploits aimed at it.
I have been working with joomla on a test director on my webserver and I really like it, but the installation for mambo is not working. Does anyone know where I can find a zoom package for mambo, my info below:
Code:
Database Version: 5.0.38-Ubuntu_0ubuntu1.2-log
PHP Version: 5.2.1
Web Server: Apache/2.2.3 (Ubuntu) PHP/5.2.1
WebServer to PHP interface: apache2handler
Mambo Version: Mambo 4.6.2 Stable [ Zeppy ] 24-April-2007 03:00 GMT
Again, I like zoom, but the installation I tried installs ok and reports no errors but it will not show any of the buttons to save progress, delete, etc when I try to work with it on the /adminisrator backend. Thank you for your help HangDog.
Does anyone know where I can find a zoom package for mambo, my info below:
If there isn't a Mambo package on the zoom site, there may not be one. I know that currently, Mambo and Joomla are extremely similar, but they may have diverged enough since the split for Zoom to not work in Mambo.
Quote:
but it will not show any of the buttons to save progress, delete, etc when I try to work with it on the /adminisrator backend
I wonder if there is something like a PHP conflict. Have you turned on error reporting for PHP to see if something is going haywire? It runs OK on my rig, which is:
Slackware 12
Apache 2.2.4
PHP 5.2.4
MySQL 5.0.37
I know this sounds stupid, but can you give a better description of what buttons you're not seeing on the backend?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.