Observation, not criticism, think to the future.... Observation, not criticism, think to the future....
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Observation, not criticism, think to the future....

Started by sharpo, August 19, 2018, 12:03:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sharpo

My first gallery, which is still going, was started in 2006 and has over 24,000 images. Bit disorganised, like me really, but useful for adding photos - many of which are now cropped from videos that I film.

I've not really spent much time on making it suitable for mobiles, until just recently, but when I installed 1.6.04 for testing, I noticed some of the documentation refers to many people still using 800 pixel screens etc. Surely things have moved on a lot since then???

Trying to make a site suitable for mobile viewing, with less columns for thumbnails, seems to make it look rather empty when viewing on a computer monitor/screen. In the future, could there be an option for different settings for mobiles and computer screens?

Anybody have any thoughts on this or anything else for the future?

Sharpo.
Sharpo (not an expert, just a Coppermine user)
3 live galleries, first started in 2006.
http://www.sharpos-world.co.uk/BB3cpg/ with over 8,000 images.
http://www.sharpos-world.co.uk/cpg/ with over 25,000 images. 1.6.25
http://www.sharpos-world.co.uk/kc/ with over 300 images. 1.6.25

Αndré

May be an idea to add such options the the configuration. If you need it now, the theme switch plugin could be used to achieve your goal: http://forum.coppermine-gallery.net/index.php/topic,74827.0.html

If you have a look at the theme.php file of one of my mobile themes, you'll find something like
// General appearance
$CONFIG['main_page_layout'] = 'breadcrumb/catlist/alblist';
$CONFIG['main_table_width'] = '100%';
$CONFIG['debug_mode'] = 0;

// Category / Album list view
$CONFIG['albums_per_page'] *= $CONFIG['album_list_cols'];
$CONFIG['album_list_cols'] = 1;
$CONFIG['subcat_level'] = 1;
$CONFIG['first_level'] = 0;

// Thumbnail view
$CONFIG['thumbrows'] *= $CONFIG['thumbcols'];
$CONFIG['thumbcols'] = 1;
$CONFIG['max_tabs'] = 5;
//$CONFIG['tabs_dropdown'] = 0;

// Image view
$CONFIG['display_film_strip'] = 0;
$CONFIG['display_pic_info'] = 0;

which overwrite some config values if a mobile device is detected.

sharpo

Thanks Αndré,

I'll study that when I have a spare moment.
Sharpo (not an expert, just a Coppermine user)
3 live galleries, first started in 2006.
http://www.sharpos-world.co.uk/BB3cpg/ with over 8,000 images.
http://www.sharpos-world.co.uk/cpg/ with over 25,000 images. 1.6.25
http://www.sharpos-world.co.uk/kc/ with over 300 images. 1.6.25

sharpo

Αndré,

As I already use theme switch, I have added a thumbnail strip for mobiles and changed the thumbnail column from 1 to 2 and think it does look better.

One thing I where I am lost is that with the 1.5 gallery, when viewing on a tablet, I can click an icon to go to mobile view, and from mobile view, using "Jump to page" dropdown - I can select "normal view". But with 1.6 the dropdown has a blank where "Normal" should be, but if I click on the blank area it will change the view.

I'm obviously showing my lack of knowledge but can't work out which file to edit to add the word "Normal".

Sharpo.
Sharpo (not an expert, just a Coppermine user)
3 live galleries, first started in 2006.
http://www.sharpos-world.co.uk/BB3cpg/ with over 8,000 images.
http://www.sharpos-world.co.uk/cpg/ with over 25,000 images. 1.6.25
http://www.sharpos-world.co.uk/kc/ with over 300 images. 1.6.25

Αndré

Open codebase.php, find
    require_once "./plugins/theme_switch/lang/english.php";
    if ($CONFIG['lang'] != 'english' && file_exists("./plugins/theme_switch/lang/{$CONFIG['lang']}.php")) {
        require_once "./plugins/theme_switch/lang/{$CONFIG['lang']}.php";
    }

and replace with
global $lang_plugin_theme_switch;