CodeIgniter Forums
min_width and min_height for the upload class? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forum-21.html)
+--- Thread: min_width and min_height for the upload class? (/thread-36422.html)

Pages: 1 2 3


min_width and min_height for the upload class? - El Forum - 12-02-2010

[eluser]chefnelone[/eluser]
I've made some changes to show a personalized error message for min_widht and min_height.

It's different from your suggestion but it works fine.

I attached the class.


min_width and min_height for the upload class? - El Forum - 12-02-2010

[eluser]Dennis Rasmussen[/eluser]
That's also the way I would have done that, but meh didn't bother to explain all of that right now (eating) Smile


min_width and min_height for the upload class? - El Forum - 12-02-2010

[eluser]InsiteFX[/eluser]
[quote author="Dennis Rasmussen" date="1291301868"]12 replies and none of them of any value Tongue
Lol InsiteFX haha (btw it's min- and max- in css and doesn't work in IE true).

Anyway for chefnelone:
What error are you getting when using the instructions in that post?
Did you remember to add an error message as well?[/quote]

Code:
max-height Sets the maximum height of an element none length % inherit 2
max-width Sets the maximum width of an element none length % inherit 2

min-height Sets the minimum height of an element length % inherit 2
min-width Sets the minimum width of an element length % inherit 2

So not wrong!

InsiteFX


min_width and min_height for the upload class? - El Forum - 12-02-2010

[eluser]chefnelone[/eluser]
[quote author="InsiteFX" date="1291312717"][quote author="Dennis Rasmussen" date="1291301868"]12 replies and none of them of any value Tongue
Lol InsiteFX haha (btw it's min- and max- in css and doesn't work in IE true).

Anyway for chefnelone:
What error are you getting when using the instructions in that post?
Did you remember to add an error message as well?[/quote]

Code:
max-height Sets the maximum height of an element none length % inherit 2
max-width Sets the maximum width of an element none length % inherit 2

min-height Sets the minimum height of an element length % inherit 2
min-width Sets the minimum width of an element length % inherit 2

So not wrong!

InsiteFX[/quote]

Whatever you say...


min_width and min_height for the upload class? - El Forum - 12-02-2010

[eluser]Dennis Rasmussen[/eluser]
[quote author="InsiteFX" date="1291312717"]
So not wrong!

InsiteFX[/quote]

Err what?


min_width and min_height for the upload class? - El Forum - 02-28-2011

[eluser]franboud[/eluser]
Thank you for the Upload class!
I had the same problem : I needed a min height and min width.

Thanks again!


min_width and min_height for the upload class? - El Forum - 02-23-2012

[eluser]raenk[/eluser]
Is this class still up to date ? I'm trying to go to that post but I get "You're not authorized.....".

Anywhere else ?