Jump to content

yosii

Members
  • Posts

    37
  • Joined

  • Last visited

Everything posted by yosii

  1. ok i drop autostop but idont know how to stop after i show the last picture Like I said, look at the 'after' callback function and try putting in a pause command after your last image is shown. The website has a bunch of tutorials on it, one specifically showing how the 'after' callback works. yes it is way like http://jquery.malsup.com/cycle/end.html but without autostop: 1 it is not work so i don't find a way please help me i tried this over 1 week
  2. ok i drop autostop but idont know how to stop after i show the last picture
  3. no i want that after one loop the loop will be stop! but i want that if user want to show the slide again he will click on play and show it again
  4. i read the documentation but i didnt find answer i find way to... when the loop is over i wrote in JS function that refresh the page but this is not comfortable for the user so i looking for another way to restart the function
  5. no it is not the problem (i deledt it) where do you see restart(); this where i can write function that will be start when the slide will be finished
  6. if you can edit my topic and write the url is http://alturl.com/3rupa i will be happy please help
  7. here http://alturl.com/3rupa sorry
  8. hi i use this plug-in http://jquery.malsup.com/cycle/ with this i can slide my picture like this way http://jquery.malsup.com/cycle/pause.html i want that after all the image was show the slid will be stop so i do autostop:1 and this work OK. now i have a problem if you look on my page that i create here if you will click on play the slide will start and after all the pictures are show this will stop this is ok but...the problem is , that i want that after the function stop(because all the image was show) if i click on play the slide will work again... now after the function was stop(after one loop) if i click play this don't play this..... please help me thank you!!!
  9. not work!!!! both of the way
  10. i have this string --h5jd456jc2xdw33cx3ccc -- i want to delete the spase between "c" and "-" how can i do this for all the string like that for example --h5jsdfsddscdcdfvdfvdfvc -- --h5jd45ddf444444rrr4443ccc -- --h5vvvvvvv3rvvvvvvvvggggggg3ccc -- i just dont want that in my string will be space thank
  11. according that script i support jpg and png,rghit?? so...you don't have any idea for me how to do resize to bmp????
  12. look'i have a code that to a resize to picture function makeimage($filename, $newfilename, $path, $newwidth, $newheight) { //SEARCHES IMAGE NAME STRING TO SELECT EXTENSION (EVERYTHING AFTER . ) $image_type = strstr($filename, '.'); //SWITCHES THE IMAGE CREATE FUNCTION BASED ON FILE EXTENSION switch($image_type) { case '.jpg': $source = imagecreatefromjpeg($filename); break; case '.png': $source = imagecreatefrompng($filename); break; case '.gif': $source = imagecreatefromgif($filename); break; default: return; } //CREATES THE NAME OF THE SAVED FILE $file = $newfilename . $filename; //CREATES THE PATH TO THE SAVED FILE $fullpath = $path . $file; //FINDS SIZE OF THE OLD FILE list($width, $height) = getimagesize($filename); //CREATES IMAGE WITH NEW SIZES $thumb = imagecreatetruecolor($newwidth, $newheight); //RESIZES OLD IMAGE TO NEW SIZES imagecopyresized($thumb, $source, 0, 0, 0, 0, $newwidth, $newheight, $width, $height); unlink($filename); //SAVES IMAGE AND SETS QUALITY || NUMERICAL VALUE = QUALITY ON SCALE OF 1-100 imagejpeg($thumb, $fullpath, 60); //CREATING FILENAME TO WRITE TO DATABSE $filepath = $fullpath; } it's work but if i try to resize "bmp" image that function return eror i treid to add case '.gif': $source = imagecreatefromwbmp($filename); break; but that do 2 error imagecreatefromwbmp() [function.imagecreatefromwbmp]: 'pic/3.bmp' is not a valid WBMP file in imagecopyresized(): supplied argument is not a valid Image resource help me please to resize bmp image thank
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.