Author Topic: [SOLVED] Link to page with image after upload  (Read 2104 times)

0 Members and 1 Guest are viewing this topic.

Offline pjotrek

  • Newbie
  • *
  • Posts: 24
    • View Profile
[SOLVED] Link to page with image after upload
« on: October 26, 2012, 10:03:28 AM »
When user is adding new picture and he push the submit button there is displayed page with that picture but without comment form and comments - only single picture.
What sould I do to make link of that picture to the page with this picture with comment form and comments ?

Ok I did it myself

In member.php find :

$content .= "<table border=\"0\" align=\"center\">\n<tr>\n<td>\n".$media."\n</td>\n</tr>\n</table>\n";

and replace it with :

$content .= "<table border=\"0\" align=\"center\">\n<tr>\n<td>\n<a href=\"details.php?image_id=".$image_id."\">".$media."</a>\n</td>\n</tr>\n</table>\n";
« Last Edit: October 26, 2012, 10:45:14 AM by pjotrek »