Giter Site home page Giter Site logo

smd_imagery's People

Contributors

bloke avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

smd_imagery's Issues

French textpack

#@smd_imagery
smd_imagery_dialog_title => Insérer des images
smd_imagery_fetch_btn => Retrouver
smd_imagery_id_btn => Récupérer les IDs
smd_imagery_image => Image
smd_imagery_opt_cat => Par catégorie
smd_imagery_opt_fld => Récupérer du champ
smd_imagery_organise_btn => Gestion
smd_imagery_result => Résultat
smd_imagery_template => Modèle

Czech textpack

#@smd_imagery
smd_imagery_dialog_title => Vložit obrázky
smd_imagery_fetch_btn => Vyhledat
smd_imagery_id_btn => Připojit ID obrázků
smd_imagery_image => Obrázek
smd_imagery_opt_cat => Podle kategorie
smd_imagery_opt_fld => Z pole
smd_imagery_organise_btn => Upravit
smd_imagery_result => Výsledek
smd_imagery_template => Šablona

Enhance regex when scanning for images

Two features need building into the regex when importing images from an article textarea field:

Multiple images

Make this regex less greedy:

<txp:image[s]?.*((id)\s*=\s*"([0-9, ]+)"|(name)\s*=\s*"(.+?)").*?\/?>

It currently only picks the last image if more than one at a time are in a group. For example:

<txp:image id="393" />
<txp:image id="394" />

Some text...

<txp:image id="395" /><txp:image id="396" />

The plugin will only pick up image IDs 394 and 396, but it should extract all four of them.

Parse Textile-inserted images

Enhance the regex so it can check for !/path/to/images/id.ext! format images too. With / without domain.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.