I tried to find out whether this question has already been answered, but I couldn't find it.
Ok, excuses out of the way, I am very happy with the looks of FCG. However, I usually post bigger pics in my posts than the gallery can take. Is there a way in which I can get FCG to resize the pictures that are used in the slider? Instead of just getting a very small part of the complete picture in the slider.
Same goes for the thumbnails really.
I like FCG a lot. I only have two small problems that limit my enthusiasm for FCG at the moment. One is the resizing issue I mentioned above, the other is why FCG needs a custom field instead of just using the standard featured image option that is included in WP.
Thanks for your answers.
Resizing images
3 posts • Page 1 of 1
Re: Resizing images
you can use timthumb script to do what you want
integrating-fcg-and-timthumb-2952.html
integrating-fcg-and-timthumb-2952.html
Yelena Khamidullina
Web Applications Developer, iePlexus
1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
Web Applications Developer, iePlexus
1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
-

admin - Site Admin
- Posts: 4789
- Joined: Fri Jan 16, 2009 9:29 am
- Location: Seattle, WA
Re: Resizing images
Hello,
I want use timthumb script in future content gallery, for automatically picture,
I edited : /wp-content/plugins/featured-content-gallery/gallery.php :
But
Please help me,
Thanks
I want use timthumb script in future content gallery, for automatically picture,
I edited : /wp-content/plugins/featured-content-gallery/gallery.php :
- Code: Select all
<div id="featured">
<script type="text/javascript">
function startGallery() {
var myGallery = new gallery($('myGallery'), {
timed: true
});
}
window.addEvent('domready',startGallery);
</script>
<style type="text/css">
.jdGallery .slideInfoZone
{
height: <?php echo get_option('gallery-info'); ?>px;
}
</style>
<div id="myGallery">
<?php
$imgthumb = get_option('gallery-use-thumb-image') ? "thumbnailimg" : "articleimg";
$wordquantity = get_option('gallery-rss-word-quantity') ? get_option('gallery-rss-word-quantity') : 100;
if (get_option('gallery-way') == 'new') {//new way
$arr = split(",",get_option('gallery-items-pages'));
if (get_option('gallery-randomize-pages'))
{
shuffle($arr);
}
foreach ($arr as $post_or_page_id)
{
get_a_post($post_or_page_id); ?>
<div class="imageElement">
<h2><?php the_title() ?></h2>
<?php
if(get_option('gallery-use-featured-content')) {?>
<p><?php $key="featuredtext"; echo get_post_meta($post->ID, $key, true); ?></p>
<?php
} else {
?>
<p><?php the_content_rss('', 0, '', $wordquantity); ?></p>
<?php
}
?>
<a href="<?php the_permalink() ?>" title="<?php the_title() ?>" class="open"></a>
<img src="<?php $key="articleimg"; echo get_post_meta($post->ID, $key, true); ?> " alt="<?php $key="alttext"; echo get_post_meta($post->ID, $key, true); ?>" class="full" />
<img src="<?php $key=$imgthumb; echo get_post_meta($post->ID, $key, true); ?>" alt="<?php $key="alttext"; echo get_post_meta($post->ID, $key, true); ?>" class="thumbnail" />
</div>
<?php
} ?>
</div>
<?php
}
else { ?>
<?php $temp_query = $wp_query; ?>
<?php query_posts('category_name=' . get_option('gallery-category') . '&showposts=' . get_option('gallery-items')); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="imageElement">
<h2><?php the_title() ?></h2>
<?php
if(get_option('gallery-use-featured-content')) {?>
<p><?php $key="featuredtext"; echo get_post_meta($post->ID, $key, true); ?></p>
<?php
} else {
?>
<p><?php the_content_rss('', 0, '', $wordquantity); ?></p>
<?php
}
?>
<a href="<?php the_permalink() ?>" title="<?php the_title() ?>" class="open"></a>
<img src="<?php $key="articleimg"; echo get_post_meta($post->ID, $key, true); ?>&h=300&w=450&zc=1" alt="<?php $key="alttext"; echo get_post_meta($post->ID, $key, true); ?>" class="full" />
<img src="<?php $key=$imgthumb; echo get_post_meta($post->ID, $key, true); ?>" alt="<?php $key="alttext"; echo get_post_meta($post->ID, $key, true); ?>" class="thumbnail" />
</div>
<?php endwhile; else: ?>
<?php endif; ?>
<?php $wp_query = $temp_query; ?>
</div>
<?php
}?>
</div>
But
Please help me,
Thanks
- mobarez
- Posts: 1
- Joined: Tue Dec 13, 2011 3:39 am
3 posts • Page 1 of 1
Return to Plugin Settings, Features, and Options
Who is online
Users browsing this forum: No registered users and 0 guests









