After many unsuccessful attempts, I have finally figured out how to use the image upload feature correctly.
Create a table field called "photo" and asign it the variable "image"
Go to your details page and insert the following tag
<IMG SRC=<%photo%>
After many unsuccessful attempts, I have finally figured out how to use the image upload feature correctly.
Create a table field called "photo" and asign it the variable "image"
Go to your details page and insert the following tag
<IMG SRC=<%photo%>
Hart,
I got the image thing working to... I have a question for you though...
1. What do i edit to limit the max height and width of an image.
Lordkinjo
go to your Admin Control Panel and towards the botton menu on the left, click the Technical Notes link in the Misc Section. Then click number 4. Customizing image upload.
That may have some info for you.
esm
"The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."
.
My installation's readme.txt told me NOT to upload the technote directory to my server. Did I miss something here ?
best
Lewis
Best
Lewis
www.AtoZfitness.com/indexu
there is no problem doing the technotes either way. probably what dody was trying to say was you don't have to upload it.
the tools folder is a little different since it has create_admin_user file and that SHOULD NOT be uploaded unless you really need it and then it should be deleted.
esm
"The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."
.
Esm,
Ok so just to make sure in order for me to setup the image upload feature I DO NEED to upload the technote directory but to be safe just do NOT upload create_admin file ?
Lewis
p.s. I talk to you more then my wife these days were not on a first name basis yet![]()
Best
Lewis
www.AtoZfitness.com/indexu
the notes are like a help file. they just describe the process of image uploading. you could just open the file on you local computer with text editor and read how to upload images, etc
esm
"The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."
.
for image upload I create a new field in alter called photo, type is image.
What do you put for "Default Value" ?
best,
Lewis
Best
Lewis
www.AtoZfitness.com/indexu
Here is info from the tech notes:
If you want to change the folder where to store image files, you should edit /themes/default/upload.html. Change the following line to point to your folder:
<input type=hidden name=folder value=upload_files>
upload.html does not exist? Where do I edit this info to make a new images folder??
brickholius
the file is actually called upload_form.html
esm
"The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."
.
I see references to "variable image" and "image type." but I do not see where there is an image "type" in SQL.Originally Posted by Hart_House
these are the "types" I see for mySQL
- TINYINT
- SMALLINT
- MEDIUMINT
- INT
- BIGINT
- FLOAT
- DOUBLE
- DECIMAL
- DATE
- DATETIME
- TIMESTAMP
- TIME
- YEAR
- CHAR
- VARCHAR
- TINYBLOB
- TINYTEXT
- BLOB
- TEXT
- MEDIUMBLOB
- MEDIUMTEXT
- LONGBLOB
- LONGTEXT
- ENUM
- SET
esm
"The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."
.
surely the database just stores the url to the image, using either text or varchar, then you get the image to show up using <IMG SRC=<%name_of_custom_field%> >
I havent tried it yet, but I would be intrested in knowing any other ways...
I tried adding a custom field to the database, which i gave a default value. IndexU seems not to worry about the default value though? the field stays blank...