Jump to content

justinchrono

Members
  • Posts

    80
  • Joined

  • Last visited

    Never

Posts posted by justinchrono

  1. hello, i have a site in which i am trying to move my thumbnails to the left, and have the rest of the layout on the right. right now the thumbnails are overlapping into the main content area of the page. i move the main content area by using the wrapper parameter...however this moves my thumbnails aswell. how can i move either the main content area or the thumbnails without moving the other one? thank you!

    the site is www.panopt.com/images_new.php

  2. Hello, I am using a thumbnail viewing script in which when I click a thumbnail, it is loading using a "ref" tag. I put the tag where I want it, and it centers it in this section I put it in. However I want to move it to the left...I cant move it out of the certain section because then it will be on top of it instead of inside. When I change the width of this section it is in, it changes where the picture is, because it is centered. How do I make it so I can keep the table a large width, but still have the image stay to the left? Thank you

    Here is the site

    www.panopt.com/images_new.php

  3. hello...i am trying to run a slideshow script where you can click next and back arrows to scroll through pictures, and another one where you can click a thumbnail and get to that picture. is there any way i can get these two scripts to coexist? also, perhaps to get it so then the next and back arrows will work, whatever picture they go to

  4. Hello, I have a sideshow script on my page so that one can scroll through preloaded images...there is a next and back button...so when one clicks them, the URL stays the same, but a different picture is on the screen...basic.

    I am trying to figure out a way so that I can have thumbnails on the side..and when clicking one of them, itll redirect you to that image (without changing the URL). does anybody know how to do this...to link the thumbnail to the slideshow image?

  5. Hello,

    My company wants me to redesign parts of their website. I was not the original creator however and am having trouble figuring out how it works. The site is set up a lot in php, and I'm not sure how to edit things correctly and where all the information even is. I was wondering if anyone could please help me and walk me through this a bit, and let me know if you need any more information.

    What I am trying to do is, trying to change the thumbnails on this page

    http://panopt.com/images-new.php?a=47&all

    So that they are very very small, and in one side of the page (either under the menu to the left which is what I want the most...or on the very right side, or even under the full large image that would be in the middle of the site) and so you can click them and it will change the picture without reloading the page.

    Thanks for any help!

  6. so i found the file that leads to that place and must be changed. it is in a file called common.inc.php. thanks, i feel like were almost there. so this is part of that file that i probably have to change...only i am not sure what i exactly change and what to...i assume its just here, and i change the string to a new directory where the photos should be? or do i have to go into the database server etc. and do something there..or am i just complicating things? thanks

     

    //production

    else {

    $DIR_UPLOAD = '/services/webpages/util/b/o/borissamarov.site.aplus.net/upload/';

    $DIR_PHOTO = '/services/webpages/util/b/o/borissamarov.site.aplus.net/public/i/photo/';

    $DIR_PHOTO_THUMB = '/services/webpages/util/b/o/borissamarov.site.aplus.net/public/i/photo/thumb/';

    $EMAIL_CONTACT = 'gallery@panopt.com';

     

    $DATABASE_SERVER = 'sqlc40b.carrierzone.com';

    $DATABASE_SCHEMA = 'borissamarov';

    $DATABASE_USERNAME = 'borissamarov';

    $DATABASE_PASSWORD = 'deletedsonobodywillhack';

    }

    ?>

     

  7. i appreciate all the help u guys r great.

    does this help at all? the file.inc.php...

     

    <?php

    class File {

    var $name;

    var $tmp_name;

    var $dir;

     

    function File($File) {

    $this->name = $File['name'];

    $this->tmp_name = $File['tmp_name'];

    }

     

    function copy() {

    if(is_file($this->tmp_name)) {

    $count = 0;

    while(file_exists($this->dir.$this->name)) $this->name = $count++.$this->name;

    if(copy($this->tmp_name, $this->dir.$this->name)) return true;

    }

    }

     

    function delete() {

    if(is_file($this->dir.$this->name)) return unlink($this->dir.$this->name);

    else return false;

    }

    }

    ?>

     

     

     

     

    the person that made the website is no longer available. i am not sure if the files are in a database like MySQL (i am not sure if that even would make sense, bare with me please lol) or somewhere in the files I have. any comment is appreciated, thanks

  8. Talk about pulling teeth to get information to use to help :examine:

     

    Best guess on this one is that the variable $this->dir contains the intended target directory where the uploaded files are supposed to be copied to. You would need to locate the code that is setting $this->dir and change it to point to the directory on the new server where you intend your uploaded files to be copied to.

     

    ouchh lol. oh well. im a beginner at this.

    i hate to sound even more of a beginner but... whats the harm? so i am not sure what any of this really means and am unsure where the directory is with the uploaded files. you said that  $this->dir contains where the target directory is, but how do i access this? thanks...

  9. The first two errors are because whatever file your copy() function is pointing too doesn't exist. Make sure you update the file paths to reflect what they are on the new server.

     

    Thank you very much. However I am still not sure what to do. I do not know much php, so im not sure how I can check what files are in my copy() function and edit that. I am also not sure how to update the file paths. If anyone could help me or let me know if its too complicated what step I can head in, I would greatly appreciate it. Thank you.

×
×
  • 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.