Page 4 of 4 FirstFirst ... 234
Results 31 to 39 of 39

Thread: includes:

  1. #31
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    sorry... I lost the thread.

    line 438 looks like this:

    echo '' .$display2. '<center>Resampled size:<font color="gray">' .$size_new. '</font>Original size:</center><font color="gray">' .$size_orig. '</font><center>';

    comment it out:

    /* echo '' .$display2. '<center>Resampled size:<font color="gray">' .$size_new. '</font>Original size:</center><font color="gray">' .$size_orig. '</font><center>'; */

    and see if that does it

  2. #32
    Join Date
    Oct 2009
    Posts
    21
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Thanks for that,
    My question was how to remove all the text, ie, size, date uploaded etc and just leave the name of the image.

  3. #33
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    $display2 is the "File uploaded on..." line. $size_new and $size_orig appear to be the "Resampled size..." and "Original size..." lines.

    I didn't install picKLE to test my suggestion above, but commenting out the line that echos those variables (line 438) should work. If it doesn't, or if there are unintended side effects, remove the comment tags and we can try something else. Did you try it?

  4. #34
    Join Date
    Oct 2009
    Posts
    21
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Please forgive me for not quite understanding you at first.
    I have tried the commenting out as you suggested, works like a dream!!

    http://moe.enixns.com/~manchest/picK...s%2F&pic=2.jpg

    I was about to give up on this script, too many changes to be made with me not knowing how but it is shaping up with your help, i tried contacting the guy who wrote it but the email is no longer in use.

    If i could ask a couple of more things?
    I tried to comment out the rest of the text below the image...
    indexed by..
    content by...

    All i want there is copyright manchesterpics.com 2009

    When creating/adding albums they all have a folder.png as the thumbnail, i changed that to one of my images... using the same title but now all the albums have the same image as a thumb cant figure how to add seperate image thumb for each album.

    Finally, when trying to change background colour using config.php nothing happens!
    Thank you for all your help.
    Maggs.

  5. #35
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    I'll look through it for you. basically, look through the script for the words/phrases you want to get rid of.

    If the line is something like $whatever = 'Words you don\'t want to show'; then don't comment it out - the variable ( $whatever ) might be needed somewhere else, so removing it would cause an error.

    Instead, look for a subsequent line that looks something like echo '<p>'.$whatever.' and maybe other stuff</p>'; -that's the command to write it to the page, and commenting it out shouldn't have any serious consequences (maybe some css or layout problems).

  6. #36
    Join Date
    Oct 2009
    Posts
    21
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Wow!
    I have managed to do something on my own lol.

    Managed to remove the unsightly indexed by and content by wording from the script and replace with one line copyright manchesterpics.com

    Still stuff to do but i am using this as a learning experience.
    Maggs.

  7. #37
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

  8. The Following User Says Thank You to traq For This Useful Post:

    terriers33 (10-27-2009)

  9. #38
    Join Date
    Oct 2009
    Posts
    21
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    thanks so much.

  10. #39
    Join Date
    Oct 2009
    Posts
    21
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    There are just the two problems left....

    How to have a different thumb image for each album created by picKLE...
    How to change the background colour of picKLE
    (have tried changing in config.php but nothing happens)

    Oh and would i need to put my own meta tags in index.php for SEO
    Thanks,
    Maggs

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •