I am trying to use image for a submit button
<?php echo $this->Form->submit('/img/prelaunch/btn_signup.gif'); ?>
thats the code i am using. but the image is not able to load The image is present in the following directory
Webroot/img/prelaunch/
**Updated**
HTML Generated
<div class="submit">
<input type="image" src="/ginger/img/prelaunch/btn_signup.gif">
</div>
Webiste Base URL http://bakasura.in/ginger/
URL http://bakasura.in/ginger/users/signup
Image URL http://bakasura.in/ginger/img/prelaunch/btn_signup.jpg
The image is a jpg, you have put a gif in the submit button source code. Simple mistake :D
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With