# Fleximage : help

**URL:** <https://www.ruby-forum.com/t/fleximage-help/163669>\
**Category:** Rails\
**Created:** [March 23, 2009, 7:47pm UTC](https://www.ruby-forum.com/t/fleximage-help/163669 "2009-03-23T19:47:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![senthil\_raja](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/3da27b/32.png) [@senthil\_raja](https://www.ruby-forum.com/u/senthil_raja)\
**Post date:** [March 23, 2009, 7:47pm UTC](https://www.ruby-forum.com/t/fleximage-help/163669/1 "2009-03-23T19:47:32Z")

</div>

hi dude

I am very much impressed on fleximage plugin functionality.  
But practically facing many problem,

1. By default it stores in png type, which takes more space. Is there  
any  
way to upload a file in jpg format.  
Note: I know i can convert a file to jpg, by i want to convert at  
the  
time of uploading itself.

2. formatted\_image\_path(@image, :jpg)  
This will work only if the file upload file is in ‘flat format’  
By default i am getting files uploaded at nested folder structure  
but  
while using formatted\_image\_path, its fetching like flat format  
Any idea how to change this.
