Photos directly on free personal page?
Mafaro
-
mafaro -
mafaro -
Comment ouvrir "directly" a full photo folder on a Free personal page without the redirector that "closes" the index (Free offers this)?
Indeed, I do not want to manually insert 100 photos on an HTML page. I have already transferred the folder containing the photos via FTP to Free.
Thank you for your explicit answers.
Indeed, I do not want to manually insert 100 photos on an HTML page. I have already transferred the folder containing the photos via FTP to Free.
Thank you for your explicit answers.
14 answers
-
If you use SPA, I can try to help you.
It's actually very simple, just place the index.php file in the folder containing the photo files.
You can simply create a link from an index.html page located at the root of your site to the index.php file in the photo folder.
Furthermore, you can modify the album configuration by editing the index.php file in Windows Notepad and changing this part:
// START OF PARAMETERS SECTION $doc_title = "Album generated by Simple Photo Album"; //web page title $columns=4; //number of images per line $ratio=5; //ratio imageSize / thumbnailImageSize $quality=5; //thumbnail image quality (0: worst to 100:best) $scriptname= "index.php"; //filename of this script $thumb_dir = "thumb"; //directory created to stored small images $thumb_prefix = "thumb_"; //prefix for generated images // END OF PARAMETERS SECTION
You can modify the page title, the number of thumbnails, the number of columns, the photo quality, the name of the folder where the thumbnails will be stored, etc.
You can of course change the background color, text color, etc. just like in any HTML page.
At the bottom of the script, you can also translate the text that will be displayed at the bottom of the slideshow, and even by adding the last line of this script, automate the slideshow:
$prevnumber = $filenumber - 1; $filestab[$prevnumber] = str_replace(" ","%20",$filestab[$prevnumber]); // Allow filenames with space characters echo "["; echo " << Previous] \n"; } echo " [Index] \n"; echo " \n" ; if ($filenumber != $nbfiles) { $nextnumber = $filenumber + 1; $filestab[$nextnumber] = str_replace(" ","%20",$filestab[$nextnumber]); // Allow filenames with space characters echo "["; echo "Next >> ]\n"; echo "\n\n<meta http-equiv="Refresh" content="10;URL=$scriptname?ishome=1&filename=$filestab[$nextnumber]&filenumber=$nextnumber" />\n\n";
See you! -
Hello,
You might consider using a photo album script in PHP, I really like SPA (Simple Photo Album) without a database, see at this address:
http://www.phpscripts-fr.net/scripts/scripts.php?cat=Galeries+%2F+Images
Good luck. -
Thank you, I looked: I think this is really what I want to do; I don't read English; but can you help me set it up, I'm too much of a beginner
thanks dugenou (I checked your links) -
Can you help me with the quality of the photos; I changed the quality to 100 but it's still not as nice as in the demo....
-
No, I'm sorry, I don't really know how to play with the quality of the photos. The only thing I've noticed is that it's better if the photos aren't too large.
-
Hello!
I tried to implement your solutions, so I created the index.php in my photo directory, but I don't know how to create the index.html link. I suppose it's simple, but once again, when you know!...
In managing my personal page, my only options are to upload a file or create a directory...
Thank you for your responses. -
I'm completely LOST!!!!!!!!
Here it is, I admit, I'm a complete beginner, actually, I just want to share my photos by providing a preview of them from my personal page on Free because I've already created an FTP server on my machine, but there's no way to create previews...
I'm trying to use Macromedia Dreamweaver MX 2004 to manage this page, so I've managed to create the link from index.html to index.php, I've placed it in my local root folder and copied it to the root folder of my personal page, when I open my personal page, I get the opening of index.html with the link I titled "Photos," but when I click on it -> impossible to display the page!...
Please find the error, I'm really struggling
Thanks in advance for any advice
See you soon -
Hello,
Did you create an images or photos folder at the root of your site to put the index.php file and your photos?
If so, the link on your index.html page to the index.php file should be in the following form:
<a href="photos/index.php">My photos</a>
Remember to include a link in the index.php file to return to your site's homepage, which is:
<a href="../index.html">Back to homepage</a>
See you later-
I'm starting to understand the thing!...
But it doesn't quite suit me; if I proceed this way, I am forced to upload my photos first to Free's FTP, which is limited to 1GB. However, some of my photos are quite large, and my interest, as well as that of potential users, is not to reduce them. So would it be possible to display only a preview of the images, allowing users to download only the photos they want from my personal FTP (which, of course, is not limited but is very slow in return)?
Thanks again.
-
-
It may be possible, but I don't know of any ready-made script for that.
Look towards sites that offer scripts:
http://www.phpscripts-fr.net/
http://www.phpcs.com/index.aspx
http://www.01php.com/index.php?PHPSESSID=83db2e03bb104f91529cbbf2a48a6155
Good luck. -
Good evening,
You can put this in the body of your page:
<embed src="fichier.mid" volume="100" hidden="true" autostart="true" loop="true">
but I wouldn't recommend it, as it's quite annoying for the visitor.
Alternatively, you could put it in a popup that the visitor can close or leave open if they wish.
Personally, when I surf, I listen to music or the radio on my hi-fi system and turn the sound off on my computer.
Good luck.-
Thank you for your reply
I only want to add a short sound, about 4 to 5 seconds, when opening either the homepage or when opening a link that points to a photo folder (for example......)
You are talking to me about the body part (?????), a popup? How to do it or link
Thank you for your help, my motto being: those who share enrich themselves....
-
-
The body part is the part of your page located between the opening tag <body> and the closing tag </body>
For the popup, there are several solutions, here is the script I use on my sites:
to be placed in the body part of the page, the script that determines the popup, the toolbar, address bar, scrollbar, resizing, etc. (0 or 1), its size and its position:
<script language="javaScript"> function musique(){ win1=window.open("musique.html","","toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=0,copyhistory=0,menuBar=0,width=500,height=400") win1.moveTo(screen.width/2-100,screen.height/2-100) } </script>
then the link:
<a href="javascript:;" onClick="musique()">Music</a>
You also need to create an HTML page (musique.html, in the example), where you will place the script:
<embed src="file.mid" volume="100" hidden="true" autostart="true" loop="true">
(I believe you need to remove loop="true" for the piece to play only once)
and add a close button:
<input type="button" value="Close" onClick="self.close()" name="button">
See you! -
Je suis en train de créer un album photo avec PHP. Voici
qu'avec un formulaire HTML, je saisis le dossier où se trouvent les photos et, avec cela, le programme PHP crée des fichiers HTML qui contiennent des vignettes et des fichiers HTML qui contiennent les agrandissements des photos. Tout cela fonctionne bien, mais mon problème est de pouvoir afficher directement ma première page de vignettes, qui se trouve dans le dossier saisi, après l'exécution du formulaire. Quand je mets un lien vers cette page, cela ne fonctionne pas.
Merci pour votre aide. -
Salut le monde. I need to add one or more images to an HTML page. Please help me. I'm counting on us.
-