Forum

Questions and discussions

Category images - no config? no custom size?

Script's setup and configuration

Category images - no config? no custom size?

Postby pepperstreet » Tue Feb 26, 2013 5:43 pm

Hello,
i wanted to setup a custom design and layout for the categories overview. The image upload seems to generate a default image size. There is no configuration setting.

- How to change this setting? Or even disable it?
- Actually, i would like to have equal squared icons for the categories. No photo thumbnails.

Thanks in advance.
pepperstreet
 
Posts: 117
Joined: Fri Dec 14, 2012 10:49 pm

Re: Category images - no config? no custom size?

Postby admin » Fri Mar 01, 2013 9:26 am

There is no any special setting for the images at the moment.
I will add the setting in the new version.
admin
Site Admin
 
Posts: 1465
Joined: Sun Mar 07, 2010 5:55 pm

Re: Category images - no config? no custom size?

Postby pepperstreet » Fri Mar 01, 2013 9:47 am

admin wrote:There is no any special setting for the images at the moment.
I will add the setting in the new version.


1. Cool! Can you give an estimate timeframe?
2. Can you give a hint about a workaround? Can i disable/remove the image resize function?
pepperstreet
 
Posts: 117
Joined: Fri Dec 14, 2012 10:49 pm

Re: Category images - no config? no custom size?

Postby admin » Wed Mar 06, 2013 9:35 am

It will be ready for the month. Too many work.

You should edit the file:
/admin/function/upload.php

function add_update_category

comment the function: 'easyResize'
admin
Site Admin
 
Posts: 1465
Joined: Sun Mar 07, 2010 5:55 pm

Re: Category images - PNG?

Postby pepperstreet » Wed Mar 06, 2013 8:40 pm

admin wrote:It will be ready for the month. Too many work.

You should edit the file:
/admin/function/upload.php

function add_update_category

comment the function: 'easyResize'


Will try this later! Thanks for file and code location infos.

BTW, there is only .JPG image upload for categories. Can you allow other formats as well? I would like to see PNG (alpha). Can you give a hint?
pepperstreet
 
Posts: 117
Joined: Fri Dec 14, 2012 10:49 pm

Re: Category images - no config? no custom size?

Postby admin » Fri Mar 08, 2013 8:30 am

Only jpg file are supported. It is possible to add *.png format theoretically but it is unnecessary. None of my client hasn't been using *.png or *.gif images for 6 years.
admin
Site Admin
 
Posts: 1465
Joined: Sun Mar 07, 2010 5:55 pm

Re: Category images - no config? no custom size?

Postby pepperstreet » Fri Mar 08, 2013 2:46 pm

admin wrote:Only jpg file are supported. It is possible to add *.png format theoretically but it is unnecessary. None of my client hasn't been using *.png or *.gif images for 6 years.


There is a first-time for everything ;-)

I would like to have the option for "icons/symbols". They should stay in there original size and they have to keep their "transparency" for easy color changes. So, no option for JPG or mixed dimensions.

So far it works... though this is another core hack :evil:
I added PNG to the JPG check. Another $flag and IF to save the file with correct filename extension.

(No idea, if there is a better way to have custom icons for categories?)
pepperstreet
 
Posts: 117
Joined: Fri Dec 14, 2012 10:49 pm


Return to Configuration

Who is online

Users browsing this forum: No registered users and 3 guests

cron
  Photo Store Script

Professional php photo stock script and WordPress plug-in for photographers and video producers.

  Support
  CMSaccount Inc.