cicciohofman Posted August 3, 2007 Share Posted August 3, 2007 Hello everyone, I am new to the forum and I got a question I am a n00b at PHP but i am learning fast. I am in the process of writing some backend applications for a Photographer. I wrote some code to upload pictures to the database and then to display them to the Administrator. The code tells it to display a certain size. It works great in Firefox but in IE7 it just gives me a sliver of the image and it is really ticking me off. Please if anyone has some suggestions let me know If it would help to include the code let me know On second thought, here it is: <h1><?php echo $category->getName().' Pictures' ?></h1> <br/> <?php use_helper('Object') ?> <?php echo form_tag('category/upload',array('multipart' => true)) ?> <?php echo object_input_hidden_tag($category, 'getCategoryId') ?> <?php echo input_file_tag('image') ?> <?php echo submit_tag('Upload Picture') ?> <?php echo link_to('Back', 'category/list?category_id='.$category->getCategoryId()) ?><br/><br/> <?php foreach ($category->getPictures() as $picture): ?> <?php echo image_tag('../uploads/' . $picture->getLocation(), 'size=300x?') ?> <?php echo link_to('Delete Picture', 'category/deletePicture?picture_id='.$picture->getPictureId()) ?><br/><br/> <?php endforeach; ?> <br/> <?php echo link_to('Back to Main', 'site/index') ?> Quote Link to comment https://forums.phpfreaks.com/topic/63217-pictures-wont-appear-right-in-ie7-but-will-in-firefox/ Share on other sites More sharing options...
micah1701 Posted August 3, 2007 Share Posted August 3, 2007 since this is a browser issues, its probably not a PHP problem (since PHP runs on your server and is then sent to the browser which reassembles the HTML) this is probably a HTML or CSS problem (or possibly javascript?). Instead, right-click and copy your source code (the way it looks in the browser after the page loads on the internet) and paste it into the HTML or CSS forums on this site. Quote Link to comment https://forums.phpfreaks.com/topic/63217-pictures-wont-appear-right-in-ie7-but-will-in-firefox/#findComment-315076 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.