Gallery For Lavalair (converted To Wml)
Started on the old forum in March 2007 · view the original in the archive · old links redirect here
TL;DR · summary of 44 replies
- Guest had an issue with female users being directed to male galleries.
- The script was not allowing users to rate pictures, only comment on them.
- Wizard suggested adding a blank JPEG image in the images folder.
- TechnoBoy reported a fatal error with if(candelgal($uid, $item[0])).
Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.
my wml photo not rating why ppl?
Failure is not when a girls leaves you, its only when you let her go virgin. heheh!!
im getting error while tryn to add pic
Parse error: parse error, unexpected T_ELSE in /home/www/wap.cyberslut.info/genproc.php on line 133 cud someone tell where exactly do i need to add the codes in genproc? in fact in all the files so that i get no errors
thanks
you need to add a curly brace**}**
evrything is ok but picture in gallery is not apear....help plz... change the max.php into
<?php
include("config.php");
include("core.php");
connectdb();
$pic = mysql_fetch_array(mysql_query("SELECT * FROM fun_gallery WHERE id ='".$id."'"));
$filename = "$pic[3]";
$height= 100;
$width= 100;
// Content type
header('Content-type: image/jpeg');
// Get new dimensions
list($width_orig, $height_orig) = getimagesize($filename);
if ($width && ($width_orig < $height_orig)) {
$width = ($height / $height_orig) * $width_orig;
} else {
$height = ($width / $width_orig) * $height_orig;
}
// Resample
$image_p = imagecreatetruecolor($width, $height);
$image = imagecreatefromjpeg($filename);
imagecopyresampled($image_p, $image, 0, 0, 0, 0, $width, $height, $width_orig, $height_orig);
// Output
imagejpeg($image_p, null, 100);
ImageDestroy ($image_p);
?>
is codes for resized thumbnail view