Magento product image is not visible in frontend
<p>Well. I am working on my first magento web site.I am using <code>magento V1.9.2.4</code> with <code>luxury theme V1.2.4</code>
Its all working fine but Product image.(I am working on localhost xampp )</p>

<p>I uploaded Images trough Catalog -> manage product -> myProduct -> Images -> upload image. Then selected the image Base image, Small image, Thumbnail in the image option. </p>

<p>As it wasnt visible by this so i changed <code>php_value memory_limit 512M</code> in <code>.htaccess</code> file in my root. this method is not worked.</p>

<p>As I am working on windows i tried to give full permissions to the media folder in the root. still nothing</p>

<p>I also checked if Image attribute have scope global.</p>

<p>I tried using almost all image sizes viz 100X100 200X200 400X400... but still its not working.</p>

<p>what i have to do in this case?</p>

<p>If it helps when i upload 'x' number of images in my back-end. Magento displays 'x' number of product images thumbnails(dummy image) in my front-end product landing page</p>

<p><strong>Edit::</strong></p>

<p>I Narrow Down the problem</p>

<p>in here resize function if I give manual height and width It shows image fine. what is the problem with it now?</p>

<p>like this <code>resize($size[100], $size[100]);</code></p>

<pre><code>&lt;img src="&lt;?php echo $this-&gt;helper('catalog/image')-&gt;init($this-&gt;getProduct(), 'image', $_image-&gt;getFile())-&gt;resize($size['width'], $size['height']); ?&gt;" alt="&lt;?php echo $this-&gt;escapeHtml($_image-&gt;getLabel()) ?&gt;" /&gt;
</code></pre>