Jump to content

fuckoffshirts

Members
  • Content count

    13
  • Joined

  • Last visited

Everything posted by fuckoffshirts

  1. fuckoffshirts

    Content Blank, after editing html_output.php

    I should have mentioned the contribution: More_pics_6 v2
  2. uploaded js folder add lightbox css to my css copied over files from admin to admin modified product_info and all is good... until I edit html_output I cut and pasted function thumbimage ($image, $x, $y, $aspectratio, $resize, $cachedir){ ........ } to the end of my html_output, upload to /functions, thumbnail is large light box script works and site still functions. comment out if ( (CONFIG_CALCULATE_IMAGE_SIZE == 'true') && (empty($width) || empty($height)) ) { .....} upload new file to /functions, thumbnail is large light box script works and site still functions. then I cut and paste: if ($image_size = @getimagesize($src)) { if ((CONFIG_CALCULATE_IMAGE_SIZE == 'true' && $src != DIR_WS_IMAGES . 'pixel_black.gif' && $src != DIR_WS_IMAGES . 'pixel_trans.gif' && $src != DIR_WS_IMAGES . 'pixel_silver.gif' )) { if ( ($width) || ($height) ) { if ( $width=="100%" ) { $width = $image_size[0]; } elseif ( $height=="100%" ) { $height = $image_size[1]; } elseif ( $width==0 ) { unset($width); } elseif ( $height==0 ) { unset($height); } $src=thumbimage(DIR_FS_CATALOG . '/' .$src, $width, $height, 1, 1, DIR_FS_CATALOG . '/' . DIR_WS_IMAGES . 'imagecache'); if ((($image_size[1]/$height) > ($image_size[0]/$width) ) && $height>0){ $width=ceil(($image_size[0]/$image_size[1])* $height); } elseif ($width>0) { $height=ceil($width/($image_size[0]/$image_size[1])); } } } } elseif (IMAGE_REQUIRED == 'false') { return ''; } and I loose content, I still have navigation and header but 0 content, any suggestion would be appriciated.
  3. uploaded js folder add lightbox css to my css copied over files from admin to admin modified product_info and all is good... until I edit html_output I cut and pasted function thumbimage ($image, $x, $y, $aspectratio, $resize, $cachedir){ ........ } to the end of my html_output, upload to /functions, thumbnail is large light box script works and site still functions. comment out if ( (CONFIG_CALCULATE_IMAGE_SIZE == 'true') && (empty($width) || empty($height)) ) { .....} upload new file to /functions, thumbnail is large light box script works and site still functions. then I cut and paste: if ($image_size = @getimagesize($src)) { if ((CONFIG_CALCULATE_IMAGE_SIZE == 'true' && $src != DIR_WS_IMAGES . 'pixel_black.gif' && $src != DIR_WS_IMAGES . 'pixel_trans.gif' && $src != DIR_WS_IMAGES . 'pixel_silver.gif' )) { if ( ($width) || ($height) ) { if ( $width=="100%" ) { $width = $image_size[0]; } elseif ( $height=="100%" ) { $height = $image_size[1]; } elseif ( $width==0 ) { unset($width); } elseif ( $height==0 ) { unset($height); } $src=thumbimage(DIR_FS_CATALOG . '/' .$src, $width, $height, 1, 1, DIR_FS_CATALOG . '/' . DIR_WS_IMAGES . 'imagecache'); if ((($image_size[1]/$height) > ($image_size[0]/$width) ) && $height>0){ $width=ceil(($image_size[0]/$image_size[1])* $height); } elseif ($width>0) { $height=ceil($width/($image_size[0]/$image_size[1])); } } } } elseif (IMAGE_REQUIRED == 'false') { return ''; } and I loose content, I still have navigation and header but 0 content, any suggestion would be appriciated.
×