|
Attention: Last reply in this thread was more than 18 Years ago |
|
Thread Tools |
#1
|
|||
|
|||
extensions
hi, currently you can't upload .bmp files to photoplog, does anyone know how I can make my gallery capable of doing this?
Please help |
#2
|
|||
|
|||
I am guessing you would need to make changes in upload.php edit.php and to the thumb creating function in functions.php.
As to exactly what code you would need to add I dont know, I would guess the thumb code would be the hardest element tho. |
#3
|
|||
|
|||
yea, i think im guna have to look at it myself because noone else seems to know :S ty anyway
|
#4
|
||||
|
||||
PhotoPlog Lite uses the GD library for image processing, but it is currently not possible to process BMP files using the GD library. Not sure why, but perhaps it is because BMP files tend to be rather large and might lend more to size and timeout issues. That said, you could edit files like Nitro suggests, using this:
Code:
Content visible to registered users only. Code:
Content visible to registered users only. Code:
Content visible to registered users only. Code:
Content visible to registered users only.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks. While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
#5
|
|||
|
|||
i have already been through and changed
Code:
Content visible to registered users only. Code:
Content visible to registered users only. Also I changed Code:
Content visible to registered users only. Code:
Content visible to registered users only. Code:
Content visible to registered users only. Cheers |
#6
|
||||
|
||||
Number 4 is for SWF files, number 6 is for BMP files. The bitmap MIME Type is image/bmp though there might be others:
Code:
Content visible to registered users only. ImageMagick binaries can be run via hell through the use of the exec function. Custom BMP functions are functions that would need to be created to handle BMP files. ImageMagick is probably preferable, but not every hosting account has ImageMagick or allows the exec function. For larger than large BMP files, custom BMP functions might be too slow to be of any real use. Either way though, it is possible to upload BMP files but not with a quick edit here or there.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks. While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
#7
|
|||
|
|||
ok i have changed the 4 to 6 from my previous edits, ow instead of saying "bad file" it says "bad save"
|
#8
|
||||
|
||||
That's because PhotoPlog Lite cannot make thumbs from BMP files, because PhotoPlog Lite uses the GD library for image processing, but it is currently not possible to process BMP files using the GD library, so there would need to be...
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks. While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
#9
|
|||
|
|||
ok, not to worry, im guna have to live with JPG's, its going to be hard trying to teach the gamers! they aren't too good with designs/ images. In your postbit you have a link to your gallery... Is this a released mod? If so where can i find this cheers. ty for the help
|
#10
|
||||
|
||||
Think of the bandwidth you'll save using JPGs instead of BMPs.
The gallery link (with count) in postbit is part of the pro version. You can add a general link by using the following in postbit: Code:
Content visible to registered users only.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks. While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
Thread Tools | |
|
|