Sorry for not replying sooner – seems like I don’t get automatic emails when someone posts here. I’ll try to sort that out.
As for your query – I simply added all the icon types I could think would be handy. If people find there are more icons they find handy, I will add them.
To whit, I have added your mime type icons today and uploaded to the repository. They should be available to download in about an hour’s time.
However, should you wish to add icons in the future, your options are three:
- Post a follow up here. I will do it as soon as possible.
- Change a current file type to one you like – ie amend line 29 of mime_type_link_images.php and replace docx with gif, for example. Change lines 63 and 121 to reflect these changes (change
enable_gif) and then add your images to the images folder
- Augment the
$mtli_available_mime_typesarray on line 29 with your chosen file type extension – ie add ‘gif’ to the end of the line. Then add your new extension
$mtli_default_options['enable_gif']=false;after line 72. Do the same after line 130. Then add your images.
As to the images themselves, start with a 256×256 good quality image. Then resize down. It’s normally necessary to use the sharpen filter once when you get down to 64×64 or 48×48. If you have made your own graphics, then adjusting the text layers to be bigger proportionally when you get down to that size is a good idea.
Any other questions, please don’t hesitate to get in touch.
I find your plugin very useful. I was wondering if support for the following mimetypes could be added:
– other archive files such as tgz/tar/tar.gz
I’ve had a slight problem reported by some other users, so won’t be able to get onto this until next week, but keep an eye out for updates.
I have downgraded this thread to ‘not resolved’ as a reminder for me.
Thanks for the feedback
OK, Srinath. Other problem has been solved, so in the forthcoming release we have:
Any others you want?
I should be releasing this later on this week, or early next week
That’s great TC. Thanks a lot for your quick response. Some other extensions that could come in really handy (and if you do have time to incorporate them) are:
– .tex for LaTeX files
– .bib for BibTeX entries
– .avi, .mp4, .wmv, .mov, etc. (I know there are a lot but just mentioning a few)
BTW I am just curious as I haven’t worked with PHP much, would it be possible to extend the plugin to handle two “dot” extensions like .tar.gz?
Thanks for this very useful plugin. I look forward to the release!
Srinath – 14 icon types added just now. Should be showing up in the next hour or so.
I haven’t done any movie types yet, as I can’t find a decent logo, so I’m probably going to have to make one, which may take a while
I apologize for not responding earlier. I just had the time to test the updated plugin.
Thanks a lot for adding support for many new types. Many types work fine but some don’t seem to be working. I tried out the following:
1. PDF – Works
2. ZIP – Works
3. PPT – Works
4. TXT – Does not work
5. BIB – Does not work
I also tried them out in different settings – png/gif and all sizes, and different themes including the default theme.
It is I who should apologise. I didn’t test the new version as it was simply adding new mime types, rather than changing core functionality.
I must have made a typo somewhere.
I’m a bit snowed under at the moment, but as this shouldn’t take long to spot the error, I will try and get on it by the end of the week.
Actually, Srinath, I couldn’t get it out of my head, so I’ve shelved the other work and fixed the problem
New version 2.0.8 should be with you in the next hour.
Thanks a lot TC! The plugin now works fine in PNG/GIF modes and all sizes. I tried it out on the types that I mentioned in my previous post.
Thanks for the awesome support!
Great news. I’ll try and get the last few icons done before the end of the month if I can.
In the meantime, don’t forget to rate the plugin! 😉
- The topic ‘[Plugin: MimeTypes Link Icons] Adding New Icon Sets’ is closed to new replies.