1
j0sh78
imagemanager hacks
  • 2004/10/25 12:31

  • j0sh78

  • Friend of XOOPS

  • Posts: 53

  • Since: 2004/10/21


i think that is quite simple to hack imagemanager to resize uploaded images automatically...

somebody's working for it?

2
limecity
Re:imagemanager hacks
  • 2004/10/25 14:30

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


Ermm.. no?
if u do find it.. just me know too~

btw.. you might want to checkout myalbum module,
i think i read something previous that got to do with image manager

3
gravies
Re:imagemanager hacks
  • 2004/11/16 5:44

  • gravies

  • Not too shy to talk

  • Posts: 119

  • Since: 2004/8/18


I have hacked the built in XOOPS imagemanager to allow it to resize images and insert a thumb and a link to the original file.

I wanted to keep it simple so I only modified imagemanager.php. This is not ideal and if you upload from the admin page it does not work. We really need an image class and full integration of images into XOOPS core (or a new default module). I am sure this is planned for 2.2

To Install this hack:

Download the zip

Unzip the file
Edit the location of convert (if not /usr/bin/)
Edit the desired size of thumbs (if not 200x200)
Backup imagemanager.php
Copy over imagemanager.php with new file
Create an image category with large size.
Test upload and insertion of image.
No need to update in admin as no database changes

ToDo:
I wanted to have the fullsize image popup in a sized window. However, the preview panel gets messed up if you use HTML instead of bbcode [URL].

The admin manager should be hacked too.

Hope this helps you.
Graham

4
Lyrick
Re:imagemanager hacks
  • 2005/8/11 15:24

  • Lyrick

  • Just popping in

  • Posts: 33

  • Since: 2005/8/1 1


sounds good, but does it work with 2.2

i ve some probelms wih 2.2 uploadad images, specially @ the extendend userprofiles won´t be shown right, because after a restrart u see the html link an code, but not the XOOPS coden - Thumbnails are a great improvement for the image manager.... ...but users must have the chance to create own albums, and not do upoads in cases, which were allwed or created by the admin!!! Can this your hack, i´ll try it...

5
jdpena
Re:imagemanager hacks
  • 2005/11/12 3:11

  • jdpena

  • Just popping in

  • Posts: 1

  • Since: 2005/11/12


Is there a way to hack your imagemanager.php to just resize the photo and do away with the original. I want users to be able to add photos to their posts, but i don't necessarily want to keep full sized images on my server. I've tried different ways of doint this with little success. First I tried using Myalbu-P as an imagemanager replacement which worked great except for the fact that it didn't work with WYSIWYG Editors, namely koivi. I found your script and it's perfect except for the fact that I have full size images filling up my hard drive. Please help if you can

Login

Who's Online

296 user(s) are online (170 user(s) are browsing Support Forums)


Members: 0


Guests: 296


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits