google-code-export / nyromodal

Automatically exported from code.google.com/p/nyromodal
1 stars 1 forks source link

Images' Sizes #113

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Is there any way to open an image in its real size?  Its resizing it to fit
the browser's screen and some details get lost.

Here's my example: http://catadeleon.com.ar/testing/

The "grant writers" link (after clicking on "see more") opens the image but
resizes it to fit the resolution.  If changed the option "resizable" to
false but it's still doing it.  Am I missing something?

Thanks,

Catalina

Original issue reported on code.google.com by catadel...@gmail.com on 12 Nov 2008 at 3:34

GoogleCodeExporter commented 9 years ago
The ability to show an image with its original size isn't a nyroModal features 
for now.
It was already asked and I started to work on it.

For your exemple, what would you like to see? How would you like this feature?
Maybe you have other idea which I could implement...

Original comment by nyro...@gmail.com on 15 Nov 2008 at 4:16

GoogleCodeExporter commented 9 years ago
Mmm, not sure, I need to open the image in its original size because the text 
looks 
too awkward if it’s forced to be smaller, it kind of looses quality.  If 
it’s a 
photo I don’t think it would be that big of a problem, but in a design 
portfolio it 
makes the difference.  Unfortunately I know nothing of javascript, I wish I 
could 
help with an idea!  There is a jquery plugin similar to lightbox that opens the 
image in its original size, maybe you could take a look there 
(http://leandrovieira.com/projects/jquery/lightbox/).  This plugin only opens 
images, so I'm not sure if works similar or not.

Original comment by catadel...@gmail.com on 17 Nov 2008 at 4:37

GoogleCodeExporter commented 9 years ago
I think that great will be two parameters for images with this default values:
ImageResize : 1
ShowResizeButton : 0

If ImageResize is set to 0, then image is shown in full size, and if 
ImageResize = 1
&& ShowResizeButton = 1, then will be show button, that show image in its 
original
size and rsize nyroModal to fit it

Original comment by hejda...@gmail.com on 27 Nov 2008 at 2:54

GoogleCodeExporter commented 9 years ago
This would be a great improvement (for example, I'm using NyroModal to display 
hi-res
photos of (very) old hand-written documents, and in order to be able to read the
text, I need to have the image in full size).

This functionality could be optional, as proposed in the previous comment from
Hedja.cz. In case the image is still too big to fit in the (fixed) size of the 
modal
or the max size (screen size), then it could display scrollbars (overflow: 
scroll).
Or allow for mouse-click-and-hold moving of the image inside the modal.

Original comment by laine.ca...@gmail.com on 8 Jan 2010 at 12:54