• [MOD] User Categories Area 5 0 5 1
Currently:  

Author Topic: [MOD] User Categories Area  (Read 90670 times)

0 Members and 1 Guest are viewing this topic.

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] User Categories Area
« Reply #75 on: December 04, 2010, 02:04:42 AM »
@ surferboy,
Both questions really aren't Mod related but will do my best to answer them...

The first one,
 if I understand what you are trying to do, I would say the best way would be to let the long name be entered but to change the thumbnail.bit template to cut off the name at a certain # of characters.
That way they will still be able to search on the long image name but the shortened version would appear on your thumbnails...
If it was me I would look in your thumbnail_bit.html file for {image_name} and replace it with this code...
Code: [Select]
<?PHP echo substr(format_text($image_name,2),0,10);?>Replace the 10 with length of characters (I think that should work)
You may also have to edit the random_image and random_cat_image templates also.

your second one (issue) did the same thing to me also,
I even tried adding it in the admin panel (outside my mod) and the same thing happened. The link is saved correctly in the database when I looked at it, but you can not download it or thumbnail it.
I  remember something about directories that begin with a underscore like that one has and some problems linking to them but I can not remember much about it.
I do not work with remote stuff so this is new to me. I tried linking a remote image from my own site and it worked...
http://www.budduke.com/gallery/data/media/15/big/ntcosmo01.JPG
but it did NOT create a thumbnail. Even from the admin panel or the normal member upload screen but it did link to it and I can download it.

I found these to MODS that seem to address this issue...
for the admin panel...
http://www.4homepages.de/forum/index.php?topic=6921.0
for the member upload...
http://www.4homepages.de/forum/index.php?topic=6920.0

I know that I do not have them installed inside my multiupload file. Give me a little time and I will see if I can add it to my uploader form...

but as for why that remote image cannot be linked to, you may want to post it in a topic all by itself under troubleshooting to see if anyone has any ideas
Buddy Duke
www.budduke.com

Offline surferboy

  • Full Member
  • ***
  • Posts: 142
    • View Profile
Re: [MOD] User Categories Area
« Reply #76 on: December 04, 2010, 03:36:35 AM »
Hi -

Thanks so much for your help. Your suggested fix worked perfectly. I rigged the system with a 27 character image name all connected by letters or underscore, and uploaded. Sure enough, the letters truncated at 20, (my setting), and yet the image name remained intact.

Thanks so much.

I do have the AutoThumbailer v2.3 mod installed, and yes, it does function as designed in the ACP for those remotely uploaded images.  I am aware of the other MOD, remote image thumbnail creation, but held off installing that in April of this year, thinking that the AutoThumnailer MOD superceded it.  I'll give it a try.

[edit]

I installed the MOD Remote Image Thumbnail Creation, http://www.4homepages.de/forum/index.php?topic=6920.0, and tried it using your MultiUpload and it did not work, in creating a remote thumbnail image. I tried it with the default image upload button, and yes, it did work. Thanks for considering adding the member remote upload thumbnail creation feature in your MOD.

Thanks again.

Brian
« Last Edit: December 04, 2010, 09:51:13 PM by surferboy »

Offline surferboy

  • Full Member
  • ***
  • Posts: 142
    • View Profile
Re: [MOD] User Categories Area
« Reply #77 on: December 07, 2010, 06:11:16 PM »
Hi -

New issue that I wanted to alert you to about your MOD:

the autoresize did not seem to work when I performed a remote image url upload into one of my personal galleries.

Here is the massive image that needs resizing, of course! -

http://upload.wikimedia.org/wikipedia/commons/5/59/Pergamonmuseum_-_Antikensammlung_-_Pergamonaltar_13.jpg

The auto resize does work when I upload any manner of large-sized files from my desktop.

Thanks,

Brian

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: [MOD] User Categories Area
« Reply #78 on: December 09, 2010, 12:58:45 AM »
@ surferboy,
I was looking around the forum trying to find a correct answer but I believe that you can not resize the remote image because it would have to upload the image to your server in order to resize it, taking away from why it was on a remote server.
I do understand why you would want it to be resized but I do not think it is possible.
When I get time I will look deeper into the code to see because if you can create a thumbnail for a remote image you would think you could also create a second size image at the same time...

The holidays have me very busy so no telling when I will get around to it.
Buddy Duke
www.budduke.com

Offline surferboy

  • Full Member
  • ***
  • Posts: 142
    • View Profile
Re: [MOD] User Categories Area
« Reply #79 on: December 09, 2010, 02:44:09 AM »
Hi budduke,

Thanks for taking a look at this issue.  The reason I need this is that our members will be uploading images, from their own computers as well as with remote url's and if the images don't resize, our gallery default templates jump outwards to extreme width, and I am striving to keep the templates at just one width.

I was successful in uploading the remote url I listed in my post using the standard upload button and having it resize to my settings: 818 x 1024. I have the two upload buttons next to each other right now, which of course display for all categories, user and regular:
{upload_button} and the {user_multiupload_button}

Thanks again,

Brian