Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Radical3

Pages: [1]
1
SOLVED MY OWN PROBLEM

FOR PEOPLE USING 4IMAGES AS A VIDEO SITE,  THIS IS CRUCIAL. LET PEOPLE UPLOAD THE VIDEOS AND THE THUMBNAILS
THEN USE CSS TO RESIZE THE THUMBNAILS, EASY.


files to be edited
templates/{yourtemplate}/thumbnail_bit.html
templates/{yourtemplate}/random_image.html ----- if you still use the random image
templates/{yourtemplate}/style.css

BACKUP YOUR STUFF

open up thumbnail_bit  and look for
Code: [Select]
{thumbnail}
Now wrap it in div tags like this
Code: [Select]
<div>{thumbnail}</div>
give the div an id of anything you want, im gonna call this "resize"
Code: [Select]
<div id="resize">{thumbnail}</div>
go to random_image.html and look for {thumbnail} then place it in the same div id as before
Code: [Select]
<div id="resize">{thumbnail}</div>
save and close the files, now go to style.css and add this at the bottom

Code: [Select]
#resize {
height:135px;
overflow: hidden;
width: 135px;

}#resize img {
height:135px;
overflow: hidden;
width: 135px;
max-height:135px;
max-width:135;
}


change your height and width change it to whatever you use.
max-height, max-width(the last two lines of css are crucial) this is the part that does the resize.

ive tested this in :
firefox
safari
opera
IE6
works perfectly, 

WARNING: this hack will not resize porportionally, it is not gd2 or imagemagick , its only css, it will resize every thumbnail you have, BUT NOT PERMANENTLY.

2
Mods & Plugins (Requests & Discussions) / Restrict thumbnail image size?
« on: August 25, 2008, 11:47:53 PM »
in the backend you set set the thumbnail image size however, when a user uploads a thumbnail for an image and its too large, 4images still accepts it?

is there a way to restrict size , or resize thumbnails on upload??

basically where can i go to force all thumbnails to one size?

3
is it possible to ::BATCH ADD SUBCATEGORIES::(create numerous sub cats at once)

example:                         

-house picture                  >        -house picture
-pet picture                      >        ---house video
-neighbour picture            >        -pet picture
-friend picturtes                >        ---pet video     example


"210087 images in 1739 categories" this is what i currently have and i need help, anything that can batch add subcategories, or give any sort of batch help in any way, i already have the batch upload[mod], and the batch edit,add,delete images [mod] and a few other batch[mods] but non of them have anything to do with categories . ive searched the forum and found nothing.

im tying to double my 1739 categories :twisted: for video like this categorie here http://www.tiptopcelebs.com/categories.php?cat_id=772
you can access the site through here http://www.tiptopcelebs.com
the password is:
username: user
password: pass


thank you in advance :thumbup:

4
Plugins / Re: [PLUGIN] Batch Import From ZIP Files
« on: May 09, 2008, 01:14:56 PM »
nice mod but theres a slight problem  :?; it wont work on .zip larger than 1 gigabyte  :o since i have about 28 gigs :twisted: of images to upload i need to do a lot of cutting up :cry: and then i need to move all the categories around to get it normal.

still a great mod.
thanks :D

Pages: [1]