Перейти к публикации
View in the app

A better way to browse. Learn more.

Дизайн и модификация Invision Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Увеличение миниатюр в IP.Content 2.3.x

(0 отзывов)

demo.png

 

Заходим в АЦ

1) Ip.Content

2) Шаблоны статей

3) Выбираем 1 из 3х (Front Page (Blog Format), Front Page (Single Column), Front Page (1x2x2 Layout)

 

За основу был взят. Front Page (1x2x2 Layout)

 

В самом вверху добавляем:

 

{parse template="include_lightbox" group="global" params=""}
{parse template="include_highlighter" group="global" params="1"}

 

Ищем:

<img src='{$data['records'][0]['article_image']}' class='photo left ipsPad' {parse resize_image="$data['records'][0]['article_image']" maxwidth="225"} alt='' />

 

Меняем:

<a href="{$data['records'][0]['article_image']}" rel="lightbox"><img src='{$data['records'][0]['article_image']}' class='photo left ipsPad' {parse resize_image="$data['records'][0]['article_image']" maxwidth="225"} alt='' /></a>

 

Ищем:

<if test="$data['records'][0]['article_image']">
                                       <img src='{$data['records'][0]['article_image']}' class='photo left ipsPad' {parse resize_image="$data['records'][0]['article_image']" maxwidth="225"} alt='' />
                               </if>

 

Меняем:

<if test="$data['records'][0]['article_image']">
                                       <a href="{$data['records'][0]['article_image']}" rel="lightbox"><img src='{$data['records'][0]['article_image']}' class='photo left ipsPad' {parse resize_image="$data['records'][0]['article_image']" maxwidth="225"} alt='' /></a>
                               </if>

1 комментарий

Рекомендованные комментарии

karmen

Пользователи

Опубликовано:

Как сделать фотографию - более эффектное. biggrin.gif

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.